From 3c86f787291fd5cdc88ea4a0ae8501b5ad413429 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Jun 2016 13:18:52 +0000 Subject: fix for inviting people into online chats only git-svn-id: http://svn.miranda-ng.org/main/trunk@16926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_chat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/JabberG/src/jabber_chat.cpp b/protocols/JabberG/src/jabber_chat.cpp index f4a983f1ba..8f2656ede2 100644 --- a/protocols/JabberG/src/jabber_chat.cpp +++ b/protocols/JabberG/src/jabber_chat.cpp @@ -1160,6 +1160,7 @@ static void sttNickListHook(CJabberProto *ppro, JABBER_LIST_ITEM *item, GCHOOK* LISTFOREACH(i, ppro, LIST_CHATROOM) { if (JABBER_LIST_ITEM *pItem = ppro->ListGetItemPtrFromIndex(i)) { + if (!pItem->bChatActive) continue; if (!idx--) { szInviteTo = pItem->jid; break; -- cgit v1.2.3