prevent traceback when pressing tab in groupchat. Fixes #8933

This commit is contained in:
Yann Leboulanger 2018-03-06 21:59:40 +01:00
parent 14f3e041de
commit 1190b10ecd
1 changed files with 2 additions and 1 deletions

View File

@ -2395,6 +2395,7 @@ class GroupchatControl(ChatControlBase):
list_nick.remove(nick)
list_nick.insert(0, nick)
if self.nick in list_nick:
list_nick.remove(self.nick) # Skip self
for nick in list_nick:
fjid = self.room_jid + '/' + nick