From edf4180d11fca32c971dff47fd63c6ab814ce8a2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 1 May 2019 15:54:26 +0400 Subject: [PATCH] Don't suggest to archive Saved Messages. --- Telegram/SourceFiles/window/window_peer_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp index 420c9a16e..dcf6fa214 100644 --- a/Telegram/SourceFiles/window/window_peer_menu.cpp +++ b/Telegram/SourceFiles/window/window_peer_menu.cpp @@ -204,7 +204,7 @@ bool Filler::showToggleArchived() { const auto history = _peer->owner().historyLoaded(_peer); if (history && history->useProxyPromotion()) { return false; - } else if (!_peer->isNotificationsUser()) { + } else if (!_peer->isNotificationsUser() && !_peer->isSelf()) { return true; } return history && (history->folder() != nullptr);