use in which is cleaner and add a FIXME for discussion
This commit is contained in:
parent
586d268c72
commit
9550e80220
|
@ -292,10 +292,13 @@ class GroupchatWindow(chat.Chat):
|
||||||
if not role:
|
if not role:
|
||||||
role = 'visitor'
|
role = 'visitor'
|
||||||
model = self.list_treeview[room_jid].get_model()
|
model = self.list_treeview[room_jid].get_model()
|
||||||
if show == 'offline' or show == 'error':
|
if show in ('offline', 'error'):
|
||||||
if statusCode == '307':
|
if statusCode == '307':
|
||||||
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)
|
||||||
|
#FIXME: this produced foo has been kciked by JID: reason
|
||||||
|
#Should we show the JID to everyone? the same for ban
|
||||||
|
#I propose we use nick
|
||||||
elif statusCode == '301':
|
elif statusCode == '301':
|
||||||
self.print_conversation(_('%s has been banned by %s: %s') % (nick,
|
self.print_conversation(_('%s has been banned by %s: %s') % (nick,
|
||||||
actor, reason), room_jid)
|
actor, reason), room_jid)
|
||||||
|
|
Loading…
Reference in New Issue