summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-19 20:22:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-19 20:22:23 +0300
commit92e81067e7e81cefcea58f7e91f6d2d8c959fd0d (patch)
tree469906fd6687a406c4ae232d0260ebe5f731c128 /protocols/Discord/src/proto.h
parent79d4eb2e8e57025219e6c5680a88446c0a047b8f (diff)
Discord:
- added support for channel addition & removal; - added support for reading message acks; - now Miranda reads the whole history, not only first 99 messages -
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index fec13c787c..3631c1237a 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -232,9 +232,12 @@ public:
int __cdecl OnDbEventRead(WPARAM, LPARAM);
// dispatch commands
+ void OnChannelCreated(const JSONNode&);
+ void OnChannelDeleted(const JSONNode&);
void OnCommandFriendAdded(const JSONNode&);
void OnCommandFriendRemoved(const JSONNode&);
void OnCommandMessage(const JSONNode&);
+ void OnCommandMessageAck(const JSONNode&);
void OnCommandPresence(const JSONNode&);
void OnCommandReady(const JSONNode&);
void OnCommandTyping(const JSONNode&);