mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 17:51:41 -05:00
Don't suggest to archive Saved Messages.
This commit is contained in:
parent
d48cafe1a3
commit
edf4180d11
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue