don't cycle through blobk nicknames when autocompletting nicks. Fixes #7398
This commit is contained in:
parent
ae873991a7
commit
1c8a57404a
|
@ -2297,7 +2297,9 @@ class GroupchatControl(ChatControlBase):
|
||||||
|
|
||||||
list_nick.remove(self.nick) # Skip self
|
list_nick.remove(self.nick) # Skip self
|
||||||
for nick in list_nick:
|
for nick in list_nick:
|
||||||
if nick.lower().startswith(begin.lower()):
|
fjid = self.room_jid + '/' + nick
|
||||||
|
if nick.lower().startswith(begin.lower()) and not \
|
||||||
|
helpers.jid_is_blocked(self.account, fjid):
|
||||||
# the word is the begining of a nick
|
# the word is the begining of a nick
|
||||||
self.nick_hits.append(nick)
|
self.nick_hits.append(nick)
|
||||||
if len(self.nick_hits):
|
if len(self.nick_hits):
|
||||||
|
|
Loading…
Reference in New Issue