summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/dispatch.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-10-13 23:47:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-10-13 23:47:14 +0300
commit27a552b8bf0f42af225e07b009d5b3e9c633e3fe (patch)
tree2a2b3204955b92e9cf87aed76a7033067a050ecd /protocols/Discord/src/dispatch.cpp
parent31af9f2c6205e0517185f71c6c66f76d6425e2a5 (diff)
group chats:
- GC_SHAREDUSERS removed; - SESSION_INFO::pParent used instead to collect data about shared user info - fix for SESSION_INFO::pMe calculation - Discord chats now go offline when proto goes offline
Diffstat (limited to 'protocols/Discord/src/dispatch.cpp')
-rw-r--r--protocols/Discord/src/dispatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp
index fa301ee37c..a0bf365e2a 100644
--- a/protocols/Discord/src/dispatch.cpp
+++ b/protocols/Discord/src/dispatch.cpp
@@ -377,7 +377,7 @@ void CDiscordProto::OnCommandMessage(const JSONNode &pRoot)
pm->wszNick = pRoot["user"]["username"].as_mstring() + L"#" + pRoot["user"]["discriminator"].as_mstring();
pGuild->arChatUsers.insert(pm);
- AddGuildUser(pGuild->id, *pm);
+ AddGuildUser(pGuild, *pm);
}
ParseSpecialChars(si, wszText);