summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-09 01:03:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-09 01:03:17 +0300
commit4f8c1e527ab9b5421f3ebb1c61ffe9a859df82e4 (patch)
treeab5bf5bec8891993939b2d4c09ce3d1feba11b96 /protocols/Discord/src/utils.cpp
parent9ab52162d7d1e0bdbf47d412fcfe83d533f0708b (diff)
- misprint in a json field name;
- fix for parsing private channels; - fix for long gateway packets reading; - version bump
Diffstat (limited to 'protocols/Discord/src/utils.cpp')
-rw-r--r--protocols/Discord/src/utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/utils.cpp b/protocols/Discord/src/utils.cpp
index ae610b8d21..ac9eb85c11 100644
--- a/protocols/Discord/src/utils.cpp
+++ b/protocols/Discord/src/utils.cpp
@@ -168,6 +168,7 @@ CDiscordUser* CDiscordProto::PrepareUser(const JSONNode &user)
MCONTACT hContact = db_add_contact();
Proto_AddToContact(hContact, m_szModuleName);
+ db_set_ws(hContact, "CList", "Group", m_wszDefaultGroup);
setId(hContact, DB_KEY_ID, id);
setWString(hContact, DB_KEY_NICK, username);
setDword(hContact, DB_KEY_DISCR, iDiscriminator);