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

Fix creating a scheduled voice chat.

This commit is contained in:
John Preston
2021-04-12 15:36:19 +04:00
parent 99501d844d
commit e5ac7a1416
9 changed files with 55 additions and 34 deletions

View File

@@ -38,12 +38,14 @@ constexpr auto kWaitForUpdatesTimeout = 3 * crl::time(1000);
GroupCall::GroupCall(
not_null<PeerData*> peer,
uint64 id,
uint64 accessHash)
uint64 accessHash,
TimeId scheduleDate)
: _id(id)
, _accessHash(accessHash)
, _peer(peer)
, _reloadByQueuedUpdatesTimer([=] { reload(); })
, _speakingByActiveFinishTimer([=] { checkFinishSpeakingByActive(); }) {
, _speakingByActiveFinishTimer([=] { checkFinishSpeakingByActive(); })
, _scheduleDate(scheduleDate) {
}
GroupCall::~GroupCall() {