diff options
Diffstat (limited to 'protocols/Discord/src/dispatch.cpp')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index e3ac110128..2046ae149d 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -466,7 +466,10 @@ void CDiscordProto::OnCommandPresence(const JSONNode &pRoot) if (!wszGame.IsEmpty()) setWString(pUser->hContact, "XStatusMsg", wszGame); else - delSetting(pUser->hContact, "XStatusMsg"); + delSetting(pUser->hContact, "XStatusMsg"); + + // check avatar + CheckAvatarChange(pUser->hContact, pRoot["user"]["avatar"].as_mstring()); } ///////////////////////////////////////////////////////////////////////////////////////// |