mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Mention names support added to FlatTextarea, messages.
Copy of mention names to clipboard done, pasting started.
This commit is contained in:
@@ -281,7 +281,16 @@ public:
|
||||
Dialogs::IndexedList *contactsList();
|
||||
Dialogs::IndexedList *dialogsList();
|
||||
|
||||
void sendMessage(History *hist, const QString &text, MsgId replyTo, bool broadcast, bool silent, WebPageId webPageId = 0);
|
||||
struct MessageToSend {
|
||||
History *history = nullptr;
|
||||
QString text;
|
||||
FlatTextarea::TagList entities;
|
||||
MsgId replyTo = 0;
|
||||
bool broadcast = false;
|
||||
bool silent = false;
|
||||
WebPageId webPageId = 0;
|
||||
};
|
||||
void sendMessage(const MessageToSend &message);
|
||||
void saveRecentHashtags(const QString &text);
|
||||
|
||||
void readServerHistory(History *history, bool force = true);
|
||||
|
Reference in New Issue
Block a user