diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-26 21:53:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-26 21:53:55 +0300 |
commit | c4683b0e13f65b773acb765ab1905819a971b0cd (patch) | |
tree | 31576522ce11d44134a63f8274a647696c22dc1c | |
parent | ba87853be16114c4ad289714bdf979d2c1e6ca5a (diff) |
new private users must be marked as private
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 1 |
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); } |