diff options
author | LittleVulpix <rinnkazul@gmail.com> | 2020-10-12 01:17:18 +0900 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-10-11 19:22:49 +0300 |
commit | 329175677ac209274a75181dcd2e7a93008fe732 (patch) | |
tree | 3c759b748791349464568dd974f6ae691443d268 /protocols | |
parent | 0a81fc4cd0427bc9d6ec3a0921d507ce6285d11f (diff) |
The avatars are still on the discordapp domain
Currently, fetching avatars doesn't work due to them being on discordapp.com.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Discord/src/avatars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/avatars.cpp b/protocols/Discord/src/avatars.cpp index dbaa304fb1..38e7cb4eb9 100644 --- a/protocols/Discord/src/avatars.cpp +++ b/protocols/Discord/src/avatars.cpp @@ -99,7 +99,7 @@ bool CDiscordProto::RetrieveAvatar(MCONTACT hContact) if (id == 0 || szAvatarHash == nullptr) return false; - CMStringA szUrl(FORMAT, "https://cdn.discord.com/avatars/%lld/%s.jpg", id, szAvatarHash.get()); + CMStringA szUrl(FORMAT, "https://cdn.discordapp.com/avatars/%lld/%s.jpg", id, szAvatarHash.get()); AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, szUrl, &CDiscordProto::OnReceiveAvatar); pReq->pUserInfo = (void*)hContact; Push(pReq); |