2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Apply markdown only when sending the message.

This commit is contained in:
John Preston
2018-05-31 21:28:37 +03:00
parent bfc748cd31
commit 43d19920e0
11 changed files with 360 additions and 174 deletions

View File

@@ -1795,7 +1795,7 @@ void SendFilesBox::send(bool ctrlShiftEnter) {
_confirmed = true;
if (_confirmedCallback) {
auto caption = _caption
? _caption->getTextWithTags()
? _caption->getTextWithAppliedMarkdown()
: TextWithTags();
_confirmedCallback(
std::move(_list),