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

@@ -6706,7 +6706,7 @@ void HistoryWidget::updatePreview() {
auto linkText = QStringView(_previewLinks).split(' ').at(0).toString();
_previewDescription.setText(
st::messageTextStyle,
TextUtilities::Clean(linkText),
linkText,
Ui::DialogTextOptions());
const auto timeout = (_previewData->pendingTill - base::unixtime::now());
@@ -6727,7 +6727,7 @@ void HistoryWidget::updatePreview() {
Ui::NameTextOptions());
_previewDescription.setText(
st::messageTextStyle,
TextUtilities::Clean(preview.description),
preview.description,
Ui::DialogTextOptions());
}
} else if (!readyToForward() && !replyToId() && !_editMsgId) {