diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-15 16:18:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-15 16:18:01 +0300 |
commit | 4d058c1bd49cb0214e452fea0a84bce2889b4434 (patch) | |
tree | 31cb00df5fc94f626447ba495123d2f2d8660b5f /protocols/Steam/src | |
parent | 28ff0c36aee829b301d451ad232185c96e273f57 (diff) |
PROTO_INTERFACE::ReportSelfAvatarChanged = useful helper for working with avatars
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r-- | protocols/Steam/src/steam_avatars.cpp | 2 | ||||
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_avatars.cpp b/protocols/Steam/src/steam_avatars.cpp index 29f1cb9938..4a3a003ca7 100644 --- a/protocols/Steam/src/steam_avatars.cpp +++ b/protocols/Steam/src/steam_avatars.cpp @@ -46,7 +46,7 @@ void CSteamProto::CheckAvatarChange(MCONTACT hContact, std::string avatarUrl) {
PROTO_AVATAR_INFORMATION ai = { 0 };
if (GetAvatarInfo(update_required ? GAIF_FORCE : 0, (LPARAM)&ai) != GAIR_WAITFOR)
- CallService(MS_AV_REPORTMYAVATARCHANGED, (WPARAM)m_szModuleName, 0);
+ ReportSelfAvatarChanged();
}
else if (update_required)
{
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 9552ee3485..aa0f13da76 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -548,7 +548,7 @@ void CSteamProto::OnGotAvatar(const HttpResponse &response, void *arg) if (ai.hContact) ProtoBroadcastAck(ai.hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, (HANDLE)&ai, 0); else - CallService(MS_AV_REPORTMYAVATARCHANGED, (WPARAM)m_szModuleName, 0); + ReportSelfAvatarChanged(); } } |