diff frontends/wix/chat.py @ 132:a86607e5cf38

quick_app: self.occupants for group chat are now managed by quick_chat. self.options.profile now support unicode
author Goffi <goffi@goffi.org>
date Fri, 16 Jul 2010 20:12:54 +0800
parents 34766e0cf970
children 9ee4a1d0d7fb
line wrap: on
line diff
--- a/frontends/wix/chat.py	Wed Jul 14 19:36:40 2010 +0800
+++ b/frontends/wix/chat.py	Fri Jul 16 20:12:54 2010 +0800
@@ -132,7 +132,6 @@
         QuickChat.setPresents(self, nicks)
         for nick in nicks:
             self.present_panel.presents.replace(nick)
-            self.occupants.add(nick)
     
     def replaceUser(self, nick):
         """Add user if it is not in the group list"""
@@ -142,13 +141,11 @@
             return
         QuickChat.replaceUser(self, nick)
         self.present_panel.presents.replace(nick)
-        self.occupants.add(nick)
 
     def removeUser(self, nick):
         """Remove a user from the group list"""
         QuickChat.removeUser(self, nick)
         self.present_panel.presents.remove(nick)
-        self.occupants.remove(nick)
 
     def setSubject(self, subject):
         """Set title for a group chat"""