diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-13 12:49:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-13 12:49:56 +0300 |
commit | 7ce0cbd1578ef39496f1eacb5d04186695b1e2a6 (patch) | |
tree | f719e0d8d4f049cbcca10c2bd03b6a08d9d19fb3 /protocols/Discord/src/proto.h | |
parent | 653ab55904ef5e7c17eb3efa459136578d3a6859 (diff) |
fixes #2209 (Discord: missing API for guilds and chats)
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 42a7e4dc77..f165ca40c2 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -269,9 +269,8 @@ class CDiscordProto : public PROTO<CDiscordProto> void AddGuildUser(CDiscordGuild *guild, const CDiscordGuildMember &pUser); void LoadGuildInfo(CDiscordGuild *guild); - void ParseGuildContents(CDiscordGuild *guild, const JSONNode &); - CDiscordGuild* ProcessGuild(const JSONNode &json); + void ProcessGuild(const JSONNode &json); CDiscordUser* ProcessGuildChannel(CDiscordGuild *guild, const JSONNode &json); void ProcessRole(CDiscordGuild *guild, const JSONNode &json); void ProcessType(CDiscordUser *pUser, const JSONNode &json); @@ -387,7 +386,6 @@ public: void OnReceiveCreateChannel(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnReceiveFile(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnReceiveGateway(NETLIBHTTPREQUEST*, AsyncHttpRequest*); - void OnReceiveGuildInfo(NETLIBHTTPREQUEST *, AsyncHttpRequest *); void OnReceiveMessageAck(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnReceiveToken(NETLIBHTTPREQUEST*, AsyncHttpRequest*); |