we now support MSN conferences
This commit is contained in:
parent
59b2bf1d31
commit
4d8fd1dfc3
|
@ -276,6 +276,10 @@ 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
|
||||||
|
|
||||||
|
elif xtag.getNamespace() == common.xmpp.NS_CONFERENCE:
|
||||||
|
room_jid = xtag.getAttr('jid')
|
||||||
|
self.dispatch('GC_INVITATION', (room_jid, frm, '', None))
|
||||||
|
return
|
||||||
# chatstates - look for chatstate tags in a message
|
# chatstates - look for chatstate tags in a message
|
||||||
children = msg.getChildren()
|
children = msg.getChildren()
|
||||||
for child in children:
|
for child in children:
|
||||||
|
|
|
@ -375,6 +375,10 @@ class Interface:
|
||||||
if self.remote and self.remote.is_enabled():
|
if self.remote and self.remote.is_enabled():
|
||||||
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:
|
||||||
|
# It's maybe a GC_NOTIFY
|
||||||
|
self.handle_event_gc_notify(account, (jid, array[1], array[2], 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, chatstate))
|
#('MSG', account, (jid, msg, time, encrypted, msg_type, subject, chatstate))
|
||||||
|
|
Loading…
Reference in New Issue