Don't suggest to archive Saved Messages.

This commit is contained in:
John Preston 2019-05-01 15:54:26 +04:00
parent d48cafe1a3
commit edf4180d11
1 changed files with 1 additions and 1 deletions

View File

@ -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);