2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Suggest mentions not only by username, but by user names as well.

This commit is contained in:
John Preston
2016-05-08 19:11:47 +03:00
parent 3e5f51f45a
commit 90a3a80bf6
5 changed files with 124 additions and 50 deletions

View File

@@ -548,7 +548,6 @@ public:
void destroyData();
void updateFieldPlaceholder();
void updateInlineBotQuery();
void updateStickersByEmoji();
void uploadImage(const QImage &img, PrepareMediaType type, FileLoadForceConfirmType confirm = FileLoadNoForceConfirm, const QString &source = QString(), bool withText = false);
@@ -820,6 +819,12 @@ private:
void clearInlineBot();
void inlineBotChanged();
// Look in the _field for the inline bot and query string.
void updateInlineBotQuery();
// Request to show results in the emoji panel.
void applyInlineBotQuery(UserData *bot, const QString &query);
MsgId _replyToId = 0;
Text _replyToName;
int _replyToNameVersion = 0;