summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-06-06 13:18:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-06-06 13:18:52 +0000
commit3c86f787291fd5cdc88ea4a0ae8501b5ad413429 (patch)
tree0d6b77664ba1d47fadcfd28248e75fbff468128c /protocols/JabberG/src/jabber_chat.cpp
parent74949105683f2d78efaff0376b99308c3fb1efd9 (diff)
fix for inviting people into online chats only
git-svn-id: http://svn.miranda-ng.org/main/trunk@16926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_chat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_chat.cpp1
1 files changed, 1 insertions, 0 deletions
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;