From 5f7d43f3579ef7252cd9680a0631f4e681c69dcf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Feb 2023 20:21:50 +0300 Subject: =?UTF-8?q?fixes=20#3347=20(AVS:=20=D0=BF=D1=80=D0=BE=D0=B1=D0=BB?= =?UTF-8?q?=D0=B5=D0=BC=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE=D0=B4?= =?UTF-8?q?=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D0=B5=20=D0=BF=D0=BB=D0=B0=D0=B3?= =?UTF-8?q?=D0=B8=D0=BD=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/ICQ-WIM/src/server.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols') diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index ab4741662a..6780daad1e 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -27,6 +27,8 @@ void CIcqProto::CheckAvatarChange(MCONTACT hContact, const JSONNode &ev) CMStringW wszIconId(ev["bigIconId"].as_mstring()); if (wszIconId.IsEmpty()) wszIconId = ev["iconId"].as_mstring(); + if (wszIconId.IsEmpty()) + wszIconId = ev["avatarId"].as_mstring(); if (!wszIconId.IsEmpty()) { CMStringW oldIconID(getMStringW(hContact, "IconId")); -- cgit v1.2.3