From 4d058c1bd49cb0214e452fea0a84bce2889b4434 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Mon, 15 Jul 2019 16:18:01 +0300
Subject: PROTO_INTERFACE::ReportSelfAvatarChanged = useful helper for working
 with avatars

---
 protocols/Discord/src/avatars.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'protocols/Discord')

diff --git a/protocols/Discord/src/avatars.cpp b/protocols/Discord/src/avatars.cpp
index 19a8adc158..10c5081f12 100644
--- a/protocols/Discord/src/avatars.cpp
+++ b/protocols/Discord/src/avatars.cpp
@@ -94,7 +94,7 @@ LBL_Error:
 	if (ai.hContact)
 		ProtoBroadcastAck(ai.hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, (HANDLE)&ai);
 	else
-		CallService(MS_AV_REPORTMYAVATARCHANGED, (WPARAM)m_szModuleName, 0);
+		ReportSelfAvatarChanged();
 }
 
 bool CDiscordProto::RetrieveAvatar(MCONTACT hContact)
-- 
cgit v1.2.3