[js] fix nick completion in groupchats

This commit is contained in:
Yann Leboulanger 2008-04-28 21:13:13 +00:00
parent f0c4bef25d
commit ec08797805
1 changed files with 1 additions and 0 deletions

View File

@ -1841,6 +1841,7 @@ class GroupchatControl(ChatControlBase):
list_nick.insert(0, nick)
list_nick.remove(self.nick) # Skip self
list_nick.reverse()
for nick in list_nick:
if nick.lower().startswith(begin.lower()):
# the word is the begining of a nick