summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-27 19:29:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-27 19:29:19 +0300
commit0779b188d44b7795f4482c7066a064a38d7c130a (patch)
tree59c150d9d06b715f694b3373af6090c47ae2b32e /protocols/Discord/src/proto.cpp
parent70df70d9bf061fd42523357bc8a34bf4323da964 (diff)
Discord: option to hide guild chats on startup
Diffstat (limited to 'protocols/Discord/src/proto.cpp')
-rw-r--r--protocols/Discord/src/proto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index 102f739be4..a2550ec601 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -43,6 +43,7 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) :
m_evRequestsQueue(CreateEvent(nullptr, FALSE, FALSE, nullptr)),
m_wszDefaultGroup(this, DB_KEY_GROUP, DB_KEYVAL_GROUP),
m_wszEmail(this, DB_KEY_EMAIL, L""),
+ m_bHideGroupchats(this, DB_KEY_HIDECHATS, true),
arGuilds(1, compareGuilds),
arMarkReadQueue(1, compareUsers),
arOwnMessages(1, compareMessages),