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

Update API scheme to layer 103.

This commit is contained in:
John Preston
2020-04-24 14:31:28 +04:00
parent c70a1f03de
commit 8d632bd2be
15 changed files with 98 additions and 101 deletions

View File

@@ -69,9 +69,9 @@ Session::Session(
notifications().updateAll();
}, _lifetime);
subscribe(Global::RefConnectionTypeChanged(), [=] {
_api->refreshProxyPromotion();
_api->refreshTopPromotion();
});
_api->refreshProxyPromotion();
_api->refreshTopPromotion();
_api->requestTermsUpdate();
_api->requestFullPeer(_user);