summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r--protocols/Discord/src/proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index 7f31402a2a..debd6db7e7 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -79,16 +79,18 @@ struct CDiscordUser : public MZeroedObject
id(_id)
{}
+ ~CDiscordUser();
+
SnowFlake id;
MCONTACT hContact;
- SnowFlake guildId;
SnowFlake channelId;
SnowFlake lastReadId;
SnowFlake parentId;
bool bIsPrivate;
bool bIsGroup;
+ struct CDiscordGuild *pGuild;
CDiscordMessage lastMsg;
CMStringW wszUsername, wszChannelName, wszTopic;
@@ -125,6 +127,7 @@ struct CDiscordGuild : public MZeroedObject
CMStringW wszName;
MCONTACT hContact;
MGROUP groupId;
+ LIST<CDiscordUser> arChannels;
GCSessionInfoBase *pParentSi;
OBJLIST<CDiscordGuildMember> arChatUsers;