summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-26 21:53:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-26 21:53:55 +0300
commitc4683b0e13f65b773acb765ab1905819a971b0cd (patch)
tree31576522ce11d44134a63f8274a647696c22dc1c
parentba87853be16114c4ad289714bdf979d2c1e6ca5a (diff)
new private users must be marked as private
-rw-r--r--protocols/Discord/src/dispatch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp
index 6662163301..862c6b4b23 100644
--- a/protocols/Discord/src/dispatch.cpp
+++ b/protocols/Discord/src/dispatch.cpp
@@ -88,6 +88,7 @@ void CDiscordProto::OnCommandChannelDeleted(const JSONNode &pRoot)
void CDiscordProto::OnCommandFriendAdded(const JSONNode &pRoot)
{
CDiscordUser *pUser = PrepareUser(pRoot["user"]);
+ pUser->bIsPrivate = true;
ProcessType(pUser, pRoot);
}