Fix freeze in voice chats.

This commit is contained in:
John Preston 2021-03-16 23:54:58 +04:00
parent 3defb06783
commit 311a2f2753
2 changed files with 5 additions and 3 deletions

View File

@ -1426,8 +1426,10 @@ void MembersController::scheduleRaisedHandStatusRemove() {
static_cast<Row*>(row)->clearRaisedHandStatus();
}
i = _raisedHandStatusRemoveAt.erase(i);
} else if (!waiting || waiting > (i->second - now)) {
waiting = i->second - now;
} else {
if (!waiting || waiting > (i->second - now)) {
waiting = i->second - now;
}
++i;
}
}

View File

@ -476,7 +476,7 @@ void Panel::initControls() {
}
});
_settings->setText(tr::lng_menu_settings());
_settings->setText(tr::lng_group_call_settings());
_hangup->setText(tr::lng_group_call_leave());
_members->desiredHeightValue(