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

Removed authorizations check form Data::Session.

This commit is contained in:
23rd
2020-09-08 18:12:16 +03:00
committed by John Preston
parent 6ac5f32796
commit 035a19b41e
4 changed files with 3 additions and 22 deletions

View File

@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "api/api_updates.h"
#include "api/api_authorizations.h"
#include "api/api_text_entities.h"
#include "main/main_session.h"
#include "main/main_account.h"
@@ -1772,7 +1773,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
}
} else {
session().data().serviceNotification(text, d.vmedia());
session().data().checkNewAuthorization();
session().api().authorizations().reload();
}
} break;