diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index f533190ef9..31bb9c7241 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1278,12 +1278,12 @@ void CJabberProto::OnProcessMessage(HXML node, ThreadData *info) if (inviteNode != NULL) {
inviteFromJid = XmlGetAttrValue(inviteNode, _T("from"));
inviteReason = XmlGetText(XmlGetChild(inviteNode, _T("reason")));
+ inviteRoomJid = from;
+ if (inviteReason == NULL)
+ inviteReason = szMessage;
+ isChatRoomInvitation = true;
+ invitePassword = XmlGetText(XmlGetChild(xNode, "password"));
}
- inviteRoomJid = from;
- if (inviteReason == NULL)
- inviteReason = szMessage;
- isChatRoomInvitation = true;
- invitePassword = XmlGetText(XmlGetChild(xNode, "password"));
}
else if (!mir_tstrcmp(ptszXmlns, JABBER_FEAT_ROSTER_EXCHANGE) &&
item != NULL && (item->subscription == SUB_BOTH || item->subscription == SUB_TO)) {
|