mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support logout of a secondary account.
This commit is contained in:
@@ -1722,7 +1722,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
Api::EntitiesFromMTP(&session(), d.ventities().v)
|
||||
};
|
||||
if (IsForceLogoutNotification(d)) {
|
||||
Core::App().forceLogOut(text);
|
||||
Core::App().forceLogOut(&session().account(), text);
|
||||
} else if (d.is_popup()) {
|
||||
const auto &windows = session().windows();
|
||||
if (!windows.empty()) {
|
||||
|
Reference in New Issue
Block a user