summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-18 23:09:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-18 23:09:41 +0300
commit4e993e88b4edaa760f854eacbe02d4c8896a2440 (patch)
tree98f2e85c6e34c46aee0c08beac12a59e88dc820b /protocols/Discord/src/proto.h
parent912f1514c3488014ac0174bd533f4bfeb1de0a44 (diff)
Discord:
- fix for reading our own messages typed in another place; - version bump
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index 33a316c634..fec13c787c 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -74,6 +74,7 @@ struct WCHAR_PARAM : public PARAM
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const WCHAR_PARAM&);
JSONNode& operator<<(JSONNode &json, const INT_PARAM &param);
+JSONNode& operator<<(JSONNode &json, const INT64_PARAM &param);
JSONNode& operator<<(JSONNode &json, const BOOL_PARAM &param);
JSONNode& operator<<(JSONNode &json, const CHAR_PARAM &param);
JSONNode& operator<<(JSONNode &json, const WCHAR_PARAM &param);
@@ -176,6 +177,7 @@ class CDiscordProto : public PROTO<CDiscordProto>
LIST<CDiscordUser> arMarkReadQueue;
OBJLIST<CDiscordUser> arUsers;
+ OBJLIST<SnowFlake> arOwnMessages;
CDiscordUser* FindUser(SnowFlake id);
CDiscordUser* FindUser(const wchar_t *pwszUsername, int iDiscriminator);
CDiscordUser* FindUserByChannel(SnowFlake channelId);