Skip to content
Snippets Groups Projects
Commit d38840ba authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

add , char at the end of nick at first TAB keypress.

parent 34ee6ea2
No related branches found
No related tags found
No related merge requests found
......@@ -1349,7 +1349,7 @@ class GroupchatControl(ChatControlBase):
# the word is the begining of a nick
self.nick_hits.append(nick)
if len(self.nick_hits):
if len(splitted_text) == 1: # This is the 1st word of the line
if len(splitted_text) < 2: # This is the 1st word of the line or no word
add = self.gc_refer_to_nick_char + ' '
else:
add = ' '
......
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