Rejoin async on e2e error.

This commit is contained in:
John Preston 2025-04-14 11:18:09 +04:00
parent 53883a7f1f
commit 3098fa6855

View file

@ -776,8 +776,8 @@ void GroupCall::initConferenceE2E() {
}, _e2e->lifetime());
_e2e->failures() | rpl::start_with_next([=] {
LOG(("TdE2E: Got failure!"));
startRejoin();
LOG(("TdE2E: Got failure, scheduling rejoin!"));
crl::on_main(this, [=] { startRejoin(); });
}, _e2e->lifetime());
_e2e->registerEncryptDecrypt(_e2eEncryptDecrypt);