From 329175677ac209274a75181dcd2e7a93008fe732 Mon Sep 17 00:00:00 2001 From: LittleVulpix Date: Mon, 12 Oct 2020 01:17:18 +0900 Subject: The avatars are still on the discordapp domain Currently, fetching avatars doesn't work due to them being on discordapp.com. --- protocols/Discord/src/avatars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3