Skip to content
Snippets Groups Projects
Commit c2b94c89 authored by nkour's avatar nkour
Browse files

groupchat code: bugfix when kicking someone

parent a3f3d8f7
No related branches found
No related tags found
No related merge requests found
......@@ -237,8 +237,8 @@ class Groupchat_window(chat.Chat):
model = self.list_treeview[room_jid].get_model()
if show == 'offline' or show == 'error':
if statusCode == '307':
self.print_conversation(_('%s has been kicked by %s: %s') % (nick, \
jid, actor, reason))
self.print_conversation(_('%s has been kicked by %s: %s') % (nick,
actor, reason))
self.remove_user(room_jid, nick)
else:
iter = self.get_user_iter(room_jid, nick)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment