mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 05:58:38 +00:00
Don't suggest to archive Saved Messages.
This commit is contained in:
parent
d48cafe1a3
commit
edf4180d11
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user