2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Fix group call create box window.

This commit is contained in:
John Preston
2022-06-08 15:21:13 +04:00
parent 7828288660
commit 2b21ec3299
3 changed files with 18 additions and 6 deletions

View File

@@ -1265,7 +1265,10 @@ void SessionController::startOrJoinGroupCall(
if (now == peer) {
calls.activateCurrentCall(args.joinHash);
} else if (calls.currentGroupCall()->scheduleDate()) {
calls.startOrJoinGroupCall(peer, { args.joinHash });
calls.startOrJoinGroupCall(
std::make_shared<Show>(this),
peer,
{args.joinHash});
} else {
askConfirmation(
((peer->isBroadcast() && now->isBroadcast())
@@ -1278,7 +1281,10 @@ void SessionController::startOrJoinGroupCall(
tr::lng_group_call_leave(tr::now));
}
} else {
calls.startOrJoinGroupCall(peer, args);
calls.startOrJoinGroupCall(
std::make_shared<Show>(this),
peer,
args);
}
}