2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Create voice chats with confirmation.

This commit is contained in:
John Preston
2020-12-09 16:24:25 +04:00
parent d15a5c9bdc
commit 7feb841081
3 changed files with 21 additions and 8 deletions

View File

@@ -961,6 +961,10 @@ void SessionController::startOrJoinGroupCall(
tr::lng_group_call_leave_to_other_sure(tr::now),
tr::lng_group_call_leave(tr::now));
}
} else if (!confirmedLeaveOther && !megagroup->call()) {
confirm(
tr::lng_group_call_create_sure(tr::now),
tr::lng_continue(tr::now));
} else {
calls.startOrJoinGroupCall(megagroup);
}