summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-19 21:17:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-19 21:17:09 +0300
commit4bf8e7a50e7168ec0418301d2c10f748f24dd8ad (patch)
tree31ea22ae20055b59d92b7dfeafcf72c5c0d0bc80 /protocols/JabberG
parent8e52135f5e61099bb24e6d02ecc9b3a34d5a0848 (diff)
fixed #2221 (Jabber: cannot invite user to conference)
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index aaa9e1b5af..51ef853e94 100755
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1320,7 +1320,7 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info)
if (inviteReason == nullptr)
inviteReason = szMessage;
if (!m_bIgnoreMUCInvites)
- GroupchatProcessInvite(XmlGetAttr(inviteNode, "from"), from, inviteReason, XmlGetChildText(xNode, "password"));
+ GroupchatProcessInvite(from, XmlGetAttr(inviteNode, "from"), inviteReason, XmlGetChildText(xNode, "password"));
return;
}
}
@@ -1351,7 +1351,7 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info)
if (!inviteReason)
inviteReason = szMessage;
if (!m_bIgnoreMUCInvites)
- GroupchatProcessInvite(XmlGetAttr(xNode, "jid"), from, inviteReason, nullptr);
+ GroupchatProcessInvite(from, XmlGetAttr(xNode, "jid"), inviteReason, nullptr);
return;
}
}