diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-30 18:11:58 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-30 18:11:58 +0300 |
commit | ab5dee1d3c99c5df92997b43c8d8b67c3cdd4f3d (patch) | |
tree | 39512102197d8af633dd664f5853b62a087b07af | |
parent | f665086d041f0e56bd6130b7129d4de53dedb1d1 (diff) |
Jabber: fix for setting groupchat avatars
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index e0daa61151..6d9e915567 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -682,7 +682,8 @@ void CJabberProto::OnIqResultGetVcard(const TiXmlElement *iqNode, CJabberIqInfo* }
else {
if ((hContact = HContactFromJID(jid)) == 0)
- return;
+ if ((hContact = ChatRoomHContactFromJID(jid)) == 0)
+ return;
debugLogA("Other user's vcard");
}
|