2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

No 'Clear History' for everyone in groups.

This commit is contained in:
John Preston
2021-02-19 14:18:13 +04:00
parent 018232680f
commit 0a678ae8bd
4 changed files with 7 additions and 9 deletions

View File

@@ -750,6 +750,8 @@ auto DeleteMessagesBox::revokeText(not_null<PeerData*> peer) const
tr::now,
lt_user,
user->firstName);
} else if (_wipeHistoryJustClear) {
return std::nullopt;
} else {
result.checkbox = tr::lng_delete_for_everyone_check(tr::now);
}