2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 00:25:17 +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

@@ -147,7 +147,7 @@ void InitMessageField(not_null<Ui::InputField*> field) {
field->customTab(true);
field->setInstantReplaces(Ui::InstantReplaces::Default());
field->setInstantReplacesEnabled(Global::ReplaceEmojiValue());
field->setMarkdownReplacesEnabled(Global::ReplaceEmojiValue());
field->setMarkdownReplacesEnabled(rpl::single(true));
}
bool HasSendText(not_null<const Ui::InputField*> field) {