From 79dc27a403c3fe1daa1c279690a727e5e92c73a5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Jun 2023 17:41:02 +0300 Subject: Jabber: we don't add groupchats to the roster editor --- protocols/JabberG/src/jabber_roster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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 }; -- cgit v1.2.3