2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Show user name when deleting all messages from user.

This commit is contained in:
John Preston
2022-02-28 19:45:19 +03:00
parent 38600d8189
commit 71228eae59
3 changed files with 11 additions and 3 deletions

View File

@@ -182,7 +182,11 @@ void DeleteMessagesBox::prepare() {
if (_moderateDeleteAll) {
_deleteAll.create(
this,
tr::lng_delete_all_from(tr::now),
tr::lng_delete_all_from_user(
tr::now,
lt_user,
Ui::Text::Bold(_moderateFrom->name),
Ui::Text::WithEntities),
false,
st::defaultBoxCheckbox);
}