From 44faef30278033d04d8ff4a65e747b9ee9b2fec6 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 20 Sep 2025 22:39:33 +0300 Subject: [PATCH] Added ability to provide special markdown set to input field for notes. --- Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp index 7177835795..dc9ec0bfe3 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp @@ -288,6 +288,7 @@ void Controller::setupNotesField() { tr::lng_contact_add_notes(), QString()), st::addContactFieldMargin); + _notesField->setMarkdownSet(Ui::MarkdownSet::Notes); _notesField->setCustomTextContext(Core::TextContext({ .session = &_user->session() }));