From c4683b0e13f65b773acb765ab1905819a971b0cd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Jan 2017 21:53:55 +0300 Subject: new private users must be marked as private --- protocols/Discord/src/dispatch.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/Discord') 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); } -- cgit v1.2.3