aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index c8d24ee..bcebcbb 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -611,6 +611,9 @@ class Channel(object):
if user == self.last_active_user and prefix_same_nick != "":
name = prefix_same_nick
else:
+ nick_prefix = w.config_string(w.config_get('weechat.look.nick_prefix'))
+ nick_suffix = w.config_string(w.config_get('weechat.look.nick_suffix'))
+
if self.server.users.find(user):
name = self.server.users.find(user).formatted_name()
self.last_active_user = user
@@ -618,6 +621,7 @@ class Channel(object):
else:
name = user
self.last_active_user = None
+ name = nick_prefix + name + nick_suffix
name = name.decode('utf-8')
#colorize nicks in each line
chat_color = w.config_string(w.config_get('weechat.color.chat'))