2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

Added api support of new unconfirmed authorizations.

This commit is contained in:
23rd
2025-08-26 17:00:32 +03:00
parent 94ccd8f8b6
commit f09d2d22eb
3 changed files with 162 additions and 2 deletions

View File

@@ -2213,6 +2213,10 @@ void Updates::feedUpdate(const MTPUpdate &update) {
}
} break;
case mtpc_updateNewAuthorization: {
session().api().authorizations().apply(update);
} break;
case mtpc_updateServiceNotification: {
const auto &d = update.c_updateServiceNotification();
const auto text = TextWithEntities {