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,
|
self.print_conversation(_('%s has been kicked by %s: %s') % (nick,
|
||||||
actor, reason), room_jid)
|
actor, reason), room_jid)
|
||||||
self.remove_user(room_jid, nick)
|
self.remove_user(room_jid, nick)
|
||||||
|
if nick == self.nicks[room_jid]: # We became offline
|
||||||
|
model.clear()
|
||||||
else:
|
else:
|
||||||
iter = self.get_user_iter(room_jid, nick)
|
iter = self.get_user_iter(room_jid, nick)
|
||||||
ji = jid
|
ji = jid
|
||||||
|
|
Loading…
Reference in New Issue