empty the list in gc when we are kicked
This commit is contained in:
parent
14985bf5d1
commit
23e5cace1b
|
@ -240,6 +240,8 @@ class Groupchat_window(chat.Chat):
|
|||
self.print_conversation(_('%s has been kicked by %s: %s') % (nick,
|
||||
actor, reason), room_jid)
|
||||
self.remove_user(room_jid, nick)
|
||||
if nick == self.nicks[room_jid]: # We became offline
|
||||
model.clear()
|
||||
else:
|
||||
iter = self.get_user_iter(room_jid, nick)
|
||||
ji = jid
|
||||
|
|
Loading…
Reference in New Issue