Commit 7e36a186 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix daemon command call-mute as well

parent bf203291
...@@ -29,9 +29,9 @@ void CallMute::exec(Daemon* app, const char* args) ...@@ -29,9 +29,9 @@ void CallMute::exec(Daemon* app, const char* args)
} }
if (sscanf(args, "%i", &muted) == 1) { if (sscanf(args, "%i", &muted) == 1) {
linphone_core_enable_mic(lc, (muted != 0)); linphone_core_enable_mic(lc, !muted);
} else { } else {
linphone_core_enable_mic(lc, (muted != 0)); linphone_core_enable_mic(lc, !muted);
} }
app->sendResponse(Response(muted?"Microphone Muted" app->sendResponse(Response(muted?"Microphone Muted"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment