[js] fix nick completion in groupchats
This commit is contained in:
parent
f0c4bef25d
commit
ec08797805
|
@ -1841,6 +1841,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
list_nick.insert(0, nick)
|
list_nick.insert(0, nick)
|
||||||
|
|
||||||
list_nick.remove(self.nick) # Skip self
|
list_nick.remove(self.nick) # Skip self
|
||||||
|
list_nick.reverse()
|
||||||
for nick in list_nick:
|
for nick in list_nick:
|
||||||
if nick.lower().startswith(begin.lower()):
|
if nick.lower().startswith(begin.lower()):
|
||||||
# the word is the begining of a nick
|
# the word is the begining of a nick
|
||||||
|
|
Loading…
Reference in New Issue