summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-21 13:26:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-21 13:26:12 +0300
commit368611ceedca2c4c37e435ee2da34775eaf06109 (patch)
tree8b96f11af067da368a8186ff739a4dac7f4b28be /protocols/Discord/src/proto.h
parentce09a6d8185f0d9ee8c2b67969aed25e5a29eebe (diff)
Discord: fixes N/A status restoration after login
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index 9dc5f19e35..4b023fde05 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -233,14 +233,14 @@ class CDiscordProto : public PROTO<CDiscordProto>
void __cdecl GatewayThread(void*);
bool GatewayThreadWorker(void);
- void GatewaySend(const JSONNode &pNode);
+ bool GatewaySend(const JSONNode &pNode);
bool GatewayProcess(const JSONNode &pNode);
void GatewaySendGuildInfo(CDiscordGuild *pGuild);
void GatewaySendHeartbeat(void);
void GatewaySendIdentify(void);
void GatewaySendResume(void);
- void GatewaySendStatus(int iStatus, const wchar_t *pwszStatusText);
+ bool GatewaySendStatus(int iStatus, const wchar_t *pwszStatusText);
GatewayHandlerFunc GetHandler(const wchar_t*);