summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-06 17:41:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-06 17:41:02 +0300
commit79dc27a403c3fe1daa1c279690a727e5e92c73a5 (patch)
treee18514dc9b355f51b57803a4725f3995c7dc9489 /protocols
parent16cdadb00226f80774b2106a8a7bd25ab59231d9 (diff)
Jabber: we don't add groupchats to the roster editor
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_roster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_roster.cpp b/protocols/JabberG/src/jabber_roster.cpp
index 03d9e9ffdd..f5cbab646c 100644
--- a/protocols/JabberG/src/jabber_roster.cpp
+++ b/protocols/JabberG/src/jabber_roster.cpp
@@ -297,7 +297,7 @@ public:
// now it is require to process whole contact list to add not in roster contacts
for (auto &hContact : m_proto->AccContacts()) {
ptrW tszJid(m_proto->getWStringA(hContact, "jid"));
- if (tszJid == nullptr)
+ if (tszJid == nullptr || Contact::IsGroupChat(hContact))
continue;
LVFINDINFO lvfi = { 0 };