2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +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

@@ -1013,7 +1013,11 @@ void PeerMenuBlockUserBox(
const auto allFromUser = v::is<ClearReply>(suggestClear)
? box->addRow(object_ptr<Ui::Checkbox>(
box,
tr::lng_delete_all_from(tr::now),
tr::lng_delete_all_from_user(
tr::now,
lt_user,
Ui::Text::Bold(peer->name),
Ui::Text::WithEntities),
true,
st::defaultBoxCheckbox))
: nullptr;