diff frontends/src/quick_frontend/quick_app.py @ 685:0b9bd47dffcd

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".
author souliane <souliane@mailoo.org>
date Mon, 28 Oct 2013 18:29:34 +0100
parents 262d9d9ad27a
children f7878ad3c846
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Thu Oct 24 08:47:45 2013 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Mon Oct 28 18:29:34 2013 +0100
@@ -336,7 +336,7 @@
         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 @@
                     self.bridge.disconnect(self.profile)
         except:
             pass
+