mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-01 03:50:43 +00:00
Warn about supergroup clearing history just for me.
This commit is contained in:
parent
9086319b99
commit
5f6d8f74dd
@ -1913,6 +1913,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"lng_delete_for_me_chat_hint#other" = "This will delete them just for you, not for other participants of the chat.";
|
||||
"lng_delete_for_me_hint#one" = "This will delete it just for you.";
|
||||
"lng_delete_for_me_hint#other" = "This will delete them just for you.";
|
||||
"lng_delete_clear_for_me" = "This will clear history just for you, not for other participants of the chat.";
|
||||
"lng_edit_auto_delete_settings" = "Edit Auto-Delete Settings";
|
||||
"lng_enable_auto_delete" = "Enable Auto-Delete";
|
||||
"lng_selected_unsend_about_user_one" = "You can also delete the message you sent from {user}'s inbox by checking \"Unsend my messages\".";
|
||||
|
@ -156,6 +156,12 @@ void DeleteMessagesBox::prepare() {
|
||||
: tr::lng_box_leave();
|
||||
}, _revoke->lifetime());
|
||||
}
|
||||
} else if (canDelete
|
||||
&& _wipeHistoryJustClear
|
||||
&& (peer->isMegagroup() || peer->isChat())) {
|
||||
appendDetails({
|
||||
tr::lng_delete_clear_for_me(tr::now)
|
||||
});
|
||||
}
|
||||
} else if (_moderateFrom) {
|
||||
Assert(_moderateInChannel != nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user