From eb8372eb910e01c772da76b6f07586121fd322ec Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 10 Apr 2025 14:53:43 +0400 Subject: [PATCH] Poll sub_chain_id:1 blocks after call_create. --- Telegram/SourceFiles/calls/group/calls_group_call.cpp | 1 - Telegram/SourceFiles/tde2e/tde2e_api.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/calls/group/calls_group_call.cpp b/Telegram/SourceFiles/calls/group/calls_group_call.cpp index 19f29d16cc..ca6f47df40 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_call.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_call.cpp @@ -1557,7 +1557,6 @@ void GroupCall::rejoin(not_null as) { } else if (_conferenceCall && !_conferenceCall->blockchainMayBeEmpty() && !_e2e->hasLastBlock0()) { - //sendJoinRequest(); AssertIsDebug(); refreshLastBlockAndJoin(); } else { sendJoinRequest(); diff --git a/Telegram/SourceFiles/tde2e/tde2e_api.cpp b/Telegram/SourceFiles/tde2e/tde2e_api.cpp index e0a28936db..7a6ab8b572 100644 --- a/Telegram/SourceFiles/tde2e/tde2e_api.cpp +++ b/Telegram/SourceFiles/tde2e/tde2e_api.cpp @@ -251,6 +251,7 @@ void Call::apply(int subchain, const Block &last) { return; } setId({ uint64(id.value()) }); + shortPoll(1); for (auto i = 0; i != kSubChainsCount; ++i) { auto &entry = _subchains[i];