quick_app: self.occupants for group chat are now managed by quick_chat. self.options.profile now support unicode

This commit is contained in:
Goffi 2010-07-16 20:12:54 +08:00
commit f18d8f2d7e

View file

@ -132,7 +132,6 @@ class Chat(wx.Frame, QuickChat):
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 @@ class Chat(wx.Frame, QuickChat):
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"""