summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-10 20:24:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-10 20:24:26 +0300
commit476ff2be86850722a70b262557bb2bae699a3c89 (patch)
tree925bbfce5858cce23a7a2fd0c109b123dfc6901b /protocols/Discord
parent6d9f0126420a58fd60fba3a36553f8204459a146 (diff)
Discord: fix for missing setting
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/guilds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/guilds.cpp b/protocols/Discord/src/guilds.cpp
index 0c332296bb..3408141ecf 100644
--- a/protocols/Discord/src/guilds.cpp
+++ b/protocols/Discord/src/guilds.cpp
@@ -143,6 +143,7 @@ void CDiscordProto::ProcessGuild(const JSONNode &p)
SESSION_INFO *si = Chat_NewSession(GCW_SERVER, m_szModuleName, pGuild->wszName, pGuild->wszName, pGuild);
pGuild->pParentSi = (SESSION_INFO*)si;
pGuild->hContact = si->hContact;
+ setId(pGuild->hContact, DB_KEY_CHANNELID, guildId);
if (!pGuild->bSynced && getByte(si->hContact, "EnableSync"))
GatewaySendGuildInfo(guildId);