mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 21:58:06 +00:00
fix(src/components/call/CallModel): fix micro usage
This commit is contained in:
parent
452bab8a47
commit
f356a4f2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue