2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Ignore 'Replace emoji' setting in markdown.

Partially fixes #4727. Fixes #4731.
This commit is contained in:
John Preston
2018-05-25 20:47:29 +03:00
parent 7a32ad5409
commit 10fa6f0c13
4 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ EditCaptionBox::EditCaptionBox(
_field->setSubmitSettings(Ui::InputField::SubmitSettings::Both);
_field->setInstantReplaces(Ui::InstantReplaces::Default());
_field->setInstantReplacesEnabled(Global::ReplaceEmojiValue());
_field->setMarkdownReplacesEnabled(Global::ReplaceEmojiValue());
_field->setMarkdownReplacesEnabled(rpl::single(true));
}
void EditCaptionBox::prepareGifPreview(DocumentData *document) {