Skip self in nick completion
This commit is contained in:
parent
0b3af95972
commit
712b39bba7
|
@ -1520,6 +1520,7 @@ class GroupchatControl(ChatControlBase):
|
|||
self.nick_hits = [] # clear the hit list
|
||||
list_nick = gajim.contacts.get_nick_list(self.account,
|
||||
self.room_jid)
|
||||
list_nick.remove(self.nick) # Skip self
|
||||
for nick in list_nick:
|
||||
if nick.lower().startswith(begin.lower()):
|
||||
# the word is the begining of a nick
|
||||
|
|
Loading…
Reference in New Issue