diff options
author | George Hazan <ghazan@miranda.im> | 2023-01-10 19:56:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-01-10 19:56:07 +0300 |
commit | 83278f1c0a1b12b349617b7ebc5583be17e69daa (patch) | |
tree | f5863e19205001f10900ab4db08c837ddd675908 /protocols/SkypeWeb/src/skype_avatars.cpp | |
parent | 1a8dfc0c29543cb24bc5bb1c66a6e8ad964b88f3 (diff) |
code cleaning
Diffstat (limited to 'protocols/SkypeWeb/src/skype_avatars.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp index 1ac07d6d33..015b56965b 100644 --- a/protocols/SkypeWeb/src/skype_avatars.cpp +++ b/protocols/SkypeWeb/src/skype_avatars.cpp @@ -142,7 +142,7 @@ void CSkypeProto::SetAvatarUrl(MCONTACT hContact, CMStringW &tszUrl) if (tszUrl.IsEmpty()) {
delSetting(hContact, "AvatarUrl");
- ProtoBroadcastAck(hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, NULL, 0);
+ ProtoBroadcastAck(hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, nullptr);
}
else {
setWString(hContact, "AvatarUrl", tszUrl.GetBuffer());
@@ -151,7 +151,7 @@ void CSkypeProto::SetAvatarUrl(MCONTACT hContact, CMStringW &tszUrl) ai.hContact = hContact;
GetAvatarFileName(ai.hContact, ai.filename, _countof(ai.filename));
ai.format = ProtoGetAvatarFormat(ai.filename);
- ProtoBroadcastAck(hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, (HANDLE)&ai, 0);
+ ProtoBroadcastAck(hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, &ai);
}
}
|