diff --git a/src/common/connection.py b/src/common/connection.py index 6ee4491e4..8f7937d6f 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -395,10 +395,11 @@ class Connection: elif xtag.getNamespace() == common.xmpp.NS_MUC_USER and \ xtag.getTag('invite'): invite = xtag - # FIXME: Msn transport (CMSN1.2.1 and PyMSN0.10) do NOT RECOMMENDED - # invitation - # stanza (MUC JEP) remove in 2007, as we do not do NOT RECOMMENDED - elif xtag.getNamespace() == common.xmpp.NS_CONFERENCE: + # FIXME: Msn transport (CMSN1.2.1 and PyMSN0.10) do NOT RECOMMENDED + # invitation + # stanza (MUC JEP) remove in 2007, as we do not do NOT RECOMMENDED + for xtag in xtags: + if xtag.getNamespace() == common.xmpp.NS_CONFERENCE and not invite: room_jid = xtag.getAttr('jid') self.dispatch('GC_INVITATION', (room_jid, frm, '', None)) return