2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removed text commands.

This commit is contained in:
23rd
2022-01-07 02:04:26 +03:00
committed by John Preston
parent 2af3770b29
commit e1aa08b985
14 changed files with 26 additions and 29 deletions

View File

@@ -40,7 +40,7 @@ namespace {
list.size() - (throwAwayLastName ? 1 : 0)
);
const auto wrapName = [](not_null<History*> history) {
const auto name = TextUtilities::Clean(history->peer->name);
const auto name = history->peer->name;
return TextWithEntities{
.text = name,
.entities = (history->unreadCount() > 0)