Commit 4bfde985 authored by Philipp Hörist's avatar Philipp Hörist

[clickable_nicknames] Insert nickname correctly into message input

parent d31a4882
......@@ -98,7 +98,7 @@ class ClickableNicknames(GajimPlugin):
nickname = nickname[:-1]
nickname = nickname.rstrip(app.config.get('after_nickname'))
# Remove direction mark
nickname = nickname[:-3]
nickname = nickname[:-1]
nickname = nickname.lstrip(app.config.get('before_nickname'))
message_input.grab_focus()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment