diff frontends/src/quick_frontend/quick_app.py @ 502:debcf5dd404a

QuickFrontend, Primitivus, Wix: special entities management: - MUC rooms are special entities - Primitivus: special entities are shown at the top of the contacts list above a divider, presence updates are temporary ignored for them
author Goffi <goffi@goffi.org>
date Tue, 25 Sep 2012 23:10:22 +0200
parents e9634d2e7b38
children 10119c2a9d33
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Tue Sep 25 00:58:34 2012 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Tue Sep 25 23:10:22 2012 +0200
@@ -285,6 +285,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")
 
 
     def roomUserJoined(self, room_jid, user_nick, user_data, profile):