commit back MSN transport workaround

This commit is contained in:
Yann Leboulanger 2008-03-01 09:56:00 +00:00
parent 5b2fa4039f
commit d0aa21eb24
1 changed files with 6 additions and 0 deletions

View File

@ -724,6 +724,12 @@ class Interface:
elif new_show > 1: # Status change (not connected/disconnected or error (<1)) elif new_show > 1: # Status change (not connected/disconnected or error (<1))
notify.notify('status_change', jid, account, [new_show, notify.notify('status_change', jid, account, [new_show,
status_message]) status_message])
else:
# FIXME: Msn transport (CMSN1.2.1 and PyMSN) doesn't follow the XEP
# still the case in 2008
# It's maybe a GC_NOTIFY (specialy for MSN gc)
self.handle_event_gc_notify(account, (jid, array[1], status_message,
array[3], None, None, None, None, None, [], None, None))
def handle_event_msg(self, account, array): def handle_event_msg(self, account, array):
# 'MSG' (account, (jid, msg, time, encrypted, msg_type, subject, # 'MSG' (account, (jid, msg, time, encrypted, msg_type, subject,