diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-31 14:44:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-31 14:44:40 +0300 |
commit | 226427505784cb0db153e44baa45d1b7d028aff9 (patch) | |
tree | f6b208fd0b49207ad8da8e29c572400ba4835a78 /protocols/JabberG/src/jabber_privacy.cpp | |
parent | e8096c13782500587c1396d0c296cdddee10089b (diff) |
Jabber:
- fixes #2279 (Jabber: add HTTP File Upload support for group chats);
- major file transfer code cleaning;
Diffstat (limited to 'protocols/JabberG/src/jabber_privacy.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_privacy.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.cpp b/protocols/JabberG/src/jabber_privacy.cpp index f55d0bbbd8..30b01f49fd 100644 --- a/protocols/JabberG/src/jabber_privacy.cpp +++ b/protocols/JabberG/src/jabber_privacy.cpp @@ -1105,10 +1105,9 @@ lbl_return: for (auto &hContact : Contacts()) {
hItem = m_clcClist.FindContact(hContact);
- ptrW jid(m_proto->getWStringA(hContact, "jid"));
+ ptrA jid(m_proto->ContactToJID(hContact));
if (jid == nullptr)
- if ((jid = m_proto->getWStringA(hContact, "ChatRoomID")) == nullptr)
- continue;
+ continue;
if (dwPackets = CListGetPackets(hItem, true))
pList->AddRule(Jid, szJid, TRUE, dwOrder++, dwPackets);
|