mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Rejoin async on e2e error.
This commit is contained in:
parent
53883a7f1f
commit
3098fa6855
1 changed files with 2 additions and 2 deletions
|
@ -776,8 +776,8 @@ void GroupCall::initConferenceE2E() {
|
||||||
}, _e2e->lifetime());
|
}, _e2e->lifetime());
|
||||||
|
|
||||||
_e2e->failures() | rpl::start_with_next([=] {
|
_e2e->failures() | rpl::start_with_next([=] {
|
||||||
LOG(("TdE2E: Got failure!"));
|
LOG(("TdE2E: Got failure, scheduling rejoin!"));
|
||||||
startRejoin();
|
crl::on_main(this, [=] { startRejoin(); });
|
||||||
}, _e2e->lifetime());
|
}, _e2e->lifetime());
|
||||||
|
|
||||||
_e2e->registerEncryptDecrypt(_e2eEncryptDecrypt);
|
_e2e->registerEncryptDecrypt(_e2eEncryptDecrypt);
|
||||||
|
|
Loading…
Add table
Reference in a new issue