2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Don't decline awaited incoming call on app quit.

This commit is contained in:
John Preston
2017-05-08 12:26:43 +03:00
parent 530a385d4e
commit e7dcd5ab15
4 changed files with 13 additions and 5 deletions

View File

@@ -253,7 +253,7 @@ void Instance::showInfoPanel(gsl::not_null<Call*> call) {
}
bool Instance::isQuitPrevent() {
if (!_currentCall) {
if (!_currentCall || _currentCall->isIncomingWaiting()) {
return false;
}
_currentCall->hangup();