mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added ability to provide special markdown set to input field for notes.
This commit is contained in:
@@ -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()
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user