diff options
author | George Hazan <ghazan@miranda.im> | 2018-10-13 23:47:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-10-13 23:47:14 +0300 |
commit | 27a552b8bf0f42af225e07b009d5b3e9c633e3fe (patch) | |
tree | 2a2b3204955b92e9cf87aed76a7033067a050ecd /protocols/Discord/src/dispatch.cpp | |
parent | 31af9f2c6205e0517185f71c6c66f76d6425e2a5 (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.cpp | 2 |
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); |