Skip to content
Snippets Groups Projects
Commit 712b39bb authored by jimpp's avatar jimpp
Browse files

Skip self in nick completion

parent 0b3af959
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment