diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-18 23:09:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-18 23:09:41 +0300 |
commit | 4e993e88b4edaa760f854eacbe02d4c8896a2440 (patch) | |
tree | 98f2e85c6e34c46aee0c08beac12a59e88dc820b /protocols/Discord/src/proto.h | |
parent | 912f1514c3488014ac0174bd533f4bfeb1de0a44 (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.h | 2 |
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 ¶m); +JSONNode& operator<<(JSONNode &json, const INT64_PARAM ¶m); JSONNode& operator<<(JSONNode &json, const BOOL_PARAM ¶m); JSONNode& operator<<(JSONNode &json, const CHAR_PARAM ¶m); JSONNode& operator<<(JSONNode &json, const WCHAR_PARAM ¶m); @@ -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); |