add FIXME for MSN transport workaround

This commit is contained in:
Yann Leboulanger 2005-10-04 12:26:09 +00:00
parent c0d7d3cb0b
commit c6b05312d9
2 changed files with 5 additions and 1 deletions

View File

@ -276,6 +276,8 @@ class Connection:
if xtag.getNamespace() == common.xmpp.NS_MUC_USER and xtag.getTag('invite'): if xtag.getNamespace() == common.xmpp.NS_MUC_USER and xtag.getTag('invite'):
invite = xtag invite = xtag
# FIXME: Msn transport (CMSN1.2.1 and PyMSN0.10) doesn't follow the JEP
# remove in 2007
elif xtag.getNamespace() == common.xmpp.NS_CONFERENCE: elif xtag.getNamespace() == common.xmpp.NS_CONFERENCE:
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))

View File

@ -376,7 +376,9 @@ class Interface:
self.remote.raise_signal('ContactAbsence', (account, array)) self.remote.raise_signal('ContactAbsence', (account, array))
# stop non active file transfers # stop non active file transfers
else: else:
# It's maybe a GC_NOTIFY # FIXME: Msn transport (CMSN1.2.1 and PyMSN0.10) doesn't follow the JEP
# remove in 2007
# It's maybe a GC_NOTIFY (specialy for MSN gc)
self.handle_event_gc_notify(account, (jid, array[1], array[2], array[3], None, None, None, None, None, None, None)) self.handle_event_gc_notify(account, (jid, array[1], array[2], array[3], None, None, None, None, None, None, None))