quick_app: self.occupants for group chat are now managed by quick_chat. self.options.profile now support unicode
This commit is contained in:
parent
ded8314a26
commit
f18d8f2d7e
1 changed files with 7 additions and 5 deletions
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue