recognize correctly gc invitation. Fixes #1366

This commit is contained in:
Yann Leboulanger 2006-01-21 22:12:13 +00:00
parent 8458730327
commit a78ad2ff45
1 changed files with 5 additions and 4 deletions

View File

@ -398,7 +398,8 @@ class Connection:
# FIXME: Msn transport (CMSN1.2.1 and PyMSN0.10) do NOT RECOMMENDED # FIXME: Msn transport (CMSN1.2.1 and PyMSN0.10) do NOT RECOMMENDED
# invitation # invitation
# stanza (MUC JEP) remove in 2007, as we do not do NOT RECOMMENDED # stanza (MUC JEP) remove in 2007, as we do not do NOT RECOMMENDED
elif xtag.getNamespace() == common.xmpp.NS_CONFERENCE: for xtag in xtags:
if xtag.getNamespace() == common.xmpp.NS_CONFERENCE and not invite:
room_jid = xtag.getAttr('jid') room_jid = xtag.getAttr('jid')
self.dispatch('GC_INVITATION', (room_jid, frm, '', None)) self.dispatch('GC_INVITATION', (room_jid, frm, '', None))
return return