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

Don't show bold markup in chats list previews.

This commit is contained in:
John Preston
2022-07-05 11:50:40 +04:00
parent 90cd4afb8c
commit 6d17226c7f
3 changed files with 18 additions and 5 deletions

View File

@@ -470,11 +470,11 @@ void paintRow(
lt_from_part,
draftWrapped,
lt_message,
{
DialogsPreviewText({
.text = draft->textWithTags.text,
.entities = ConvertTextTagsToEntities(
draft->textWithTags.tags),
},
}),
Text::WithEntities);
const auto context = Core::MarkedTextContext{
.session = &history->session(),