diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-01 14:20:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-01 14:20:05 +0300 |
commit | 87ff6ba67d4df0b4c0ae3db86220b816ec6a1e75 (patch) | |
tree | 9927b65a05688d70cf1fef5ef52a7fe956138de2 /protocols/WhatsAppWeb/src/avatars.cpp | |
parent | 6de31630215f88f3639efb834be02e5af9bfce57 (diff) |
WhatsApp:
- first version that registers ok in the phone (YAHOO!!);
- the rest of legacy code removed;
- class WAJid introduced to handle various perversions;
- ServerThread behavior changed to use global variables instead of locals;
- IQ processing core extracted to the separate module;
- added <stream:error> processing
Diffstat (limited to 'protocols/WhatsAppWeb/src/avatars.cpp')
-rw-r--r-- | protocols/WhatsAppWeb/src/avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsAppWeb/src/avatars.cpp b/protocols/WhatsAppWeb/src/avatars.cpp index 5649067330..c9eefb9d6b 100644 --- a/protocols/WhatsAppWeb/src/avatars.cpp +++ b/protocols/WhatsAppWeb/src/avatars.cpp @@ -44,7 +44,7 @@ INT_PTR WhatsAppProto::GetAvatarInfo(WPARAM wParam, LPARAM lParam) { PROTO_AVATAR_INFORMATION *pai = (PROTO_AVATAR_INFORMATION*)lParam; - ptrA id(getStringA(pai->hContact, isChatRoom(pai->hContact) ? "ChatRoomID" : DBKEY_ID)); + ptrA id(getStringA(pai->hContact, isChatRoom(pai->hContact) ? "ChatRoomID" : DBKEY_JID)); if (id == NULL) return GAIR_NOAVATAR; @@ -92,7 +92,7 @@ CMStringW WhatsAppProto::GetAvatarFileName(MCONTACT hContact) CMStringA jid; if (hContact != NULL) { - ptrA szId(getStringA(hContact, isChatRoom(hContact) ? "ChatRoomID" : DBKEY_ID)); + ptrA szId(getStringA(hContact, isChatRoom(hContact) ? "ChatRoomID" : DBKEY_JID)); if (szId == NULL) return L""; |