aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-06-20 14:38:29 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-06-20 14:38:29 +0200
commit07d14d690aa6c4e2f11f9e8b4fdf5461b5bbf580 (patch)
tree34ecdbda6e422225faaab7801c04b5e15e0840f6 /wee_slack.py
parent76ccd47a404b9f2ad8ba34750b473371b6cff5a6 (diff)
downloadwee-slack-07d14d690aa6c4e2f11f9e8b4fdf5461b5bbf580.tar.gz
Set localvar_set_server for thread buffers
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index e291636..c364105 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2260,6 +2260,7 @@ class SlackThreadChannel(SlackChannelCommon):
w.buffer_set(self.channel_buffer, "localvar_set_type", 'channel')
w.buffer_set(self.channel_buffer, "localvar_set_nick", self.team.nick)
w.buffer_set(self.channel_buffer, "localvar_set_channel", self.formatted_name())
+ w.buffer_set(self.channel_buffer, "localvar_set_server", self.team.preferred_name)
w.buffer_set(self.channel_buffer, "short_name", self.formatted_name(style="sidebar", enable_color=True))
time_format = w.config_string(w.config_get("weechat.look.buffer_time_format"))
parent_time = time.localtime(SlackTS(self.parent_message.ts).major)