primitivus, wix: auto-display MUC dialog after it has been joined:
- a patch will follow to add a parameter for the user to choose between "always open", "never open" and "ask each time".
This commit is contained in:
parent
d792723caa
commit
cac3cd810f
5 changed files with 53 additions and 24 deletions
|
|
@ -336,7 +336,7 @@ class QuickApp(object):
|
|||
self.chat_wins[room_jid].setType("group")
|
||||
self.chat_wins[room_jid].id = room_jid
|
||||
self.chat_wins[room_jid].setPresents(list(set([user_nick]+room_nicks)))
|
||||
self.contact_list.setSpecial(JID(room_jid), "MUC")
|
||||
self.contact_list.setSpecial(JID(room_jid), "MUC", show=True)
|
||||
|
||||
def roomLeft(self, room_jid_s, profile):
|
||||
"""Called when a MUC room is left"""
|
||||
|
|
@ -573,3 +573,4 @@ class QuickApp(object):
|
|||
self.bridge.disconnect(self.profile)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue