Commit f356a4f2 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/components/call/CallModel): fix micro usage

parent 452bab8a
......@@ -235,7 +235,7 @@ bool CallModel::getMicroMuted () const {
void CallModel::setMicroMuted (bool status) {
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
if (status != core->micEnabled()) {
if (status == core->micEnabled()) {
core->enableMic(!status);
emit microMutedChanged(status);
}
......
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