diff --git a/Telegram/SourceFiles/facades.cpp b/Telegram/SourceFiles/facades.cpp index 9b938504d..1a009cac7 100644 --- a/Telegram/SourceFiles/facades.cpp +++ b/Telegram/SourceFiles/facades.cpp @@ -361,6 +361,9 @@ void historyMuteUpdated(History *history) { } void handlePendingHistoryUpdate() { + if (!AuthSession::Exists()) { + return; + } AuthSession::Current().data().pendingHistoryResize().notify(true); for (auto item : base::take(Global::RefPendingRepaintItems())) {