diff options
author | George Hazan <ghazan@miranda.im> | 2018-10-29 18:15:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-10-29 18:15:09 +0300 |
commit | 767c5e08a6e63cba75da64d2d344339ea72d70bd (patch) | |
tree | 56236879980d87a1a56e260dc41d8f732832252d /protocols/Discord/src/proto.h | |
parent | 3217ab9478e5f2a304e44cebd2e6ea7825a42f8c (diff) |
fixes #1633 ([Discord] Sending a message with a link causes the message to be discarded)
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 5789cebbb3..5fc60038cb 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -336,7 +336,9 @@ public: void OnCommandGuildSync(const JSONNode&); void OnCommandFriendAdded(const JSONNode&); void OnCommandFriendRemoved(const JSONNode&); - void OnCommandMessage(const JSONNode&); + void OnCommandMessage(const JSONNode&, bool); + void OnCommandMessageCreate(const JSONNode&); + void OnCommandMessageUpdate(const JSONNode&); void OnCommandMessageAck(const JSONNode&); void OnCommandPresence(const JSONNode&); void OnCommandReady(const JSONNode&); |