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

This commit is contained in:
Ronan Abhamon 2017-02-14 09:18:52 +01:00
parent 452bab8a47
commit f356a4f2a3

View file

@ -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);
}