mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
Fix daemon command call-mute as well
This commit is contained in:
parent
bf20329191
commit
7e36a186ef
1 changed files with 2 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ void CallMute::exec(Daemon* app, const char* args)
|
|||
}
|
||||
|
||||
if (sscanf(args, "%i", &muted) == 1) {
|
||||
linphone_core_enable_mic(lc, (muted != 0));
|
||||
linphone_core_enable_mic(lc, !muted);
|
||||
} else {
|
||||
linphone_core_enable_mic(lc, (muted != 0));
|
||||
linphone_core_enable_mic(lc, !muted);
|
||||
}
|
||||
|
||||
app->sendResponse(Response(muted?"Microphone Muted"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue