diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-16 15:17:47 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-16 15:17:47 +0300 |
commit | c00f494c8165b9f2d9facc6488173502b19ca696 (patch) | |
tree | c9b16d5341ed4336f7797333e12c926fe5e73211 /protocols/Discord/src/proto.h | |
parent | d50c14d30197fcf8d31e875d5c936a0890200be4 (diff) |
- added reaction to remote contact removal;
- now we remove a channel & friendship on local contact removal
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 2ac14310b8..051095d8e8 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -225,8 +225,9 @@ public: int __cdecl OnPreShutdown(WPARAM, LPARAM); int __cdecl OnOptionsInit(WPARAM, LPARAM); int __cdecl OnDbEventRead(WPARAM, LPARAM); - + // dispatch commands + void OnCommandFriendRemoved(const JSONNode&); void OnCommandMessage(const JSONNode&); void OnCommandPresence(const JSONNode&); void OnCommandReady(const JSONNode&); @@ -235,6 +236,8 @@ public: void OnLoggedIn(); void OnLoggedOut(); + + int OnDeleteContact(MCONTACT hContact); void OnReceiveAuth(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnReceiveChannels(NETLIBHTTPREQUEST*, AsyncHttpRequest*); |