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

Removed TextParseRichText.

This commit is contained in:
23rd
2022-01-07 06:50:06 +03:00
committed by John Preston
parent e1aa08b985
commit e11904e05b
14 changed files with 21 additions and 37 deletions

View File

@@ -54,7 +54,7 @@ namespace {
using TextState = HistoryView::TextState;
TextParseOptions _documentNameOptions = {
TextParseMultiline | TextParseRichText | TextParseLinks | TextParseMarkdown, // flags
TextParseMultiline | TextParseLinks | TextParseMarkdown, // flags
0, // maxw
0, // maxh
Qt::LayoutDirectionAuto, // dir
@@ -637,8 +637,7 @@ Voice::Voice(
dateText,
lt_duration,
{ .text = Ui::FormatDurationText(duration()) },
Ui::Text::WithEntities),
{ TextParseRichText, 0, 0, Qt::LayoutDirectionAuto });
Ui::Text::WithEntities));
_details.setLink(1, goToMessageClickHandler(parent));
}