prevent traceback when pressing tab in groupchat. Fixes #8933
This commit is contained in:
parent
14f3e041de
commit
1190b10ecd
|
@ -2395,7 +2395,8 @@ class GroupchatControl(ChatControlBase):
|
|||
list_nick.remove(nick)
|
||||
list_nick.insert(0, nick)
|
||||
|
||||
list_nick.remove(self.nick) # Skip self
|
||||
if self.nick in list_nick:
|
||||
list_nick.remove(self.nick) # Skip self
|
||||
for nick in list_nick:
|
||||
fjid = self.room_jid + '/' + nick
|
||||
if nick.lower().startswith(begin.lower()) and not \
|
||||
|
|
Loading…
Reference in New Issue