summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}