aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorDavid Vo <auscompgeek@users.noreply.github.com>2017-10-26 23:25:18 +1100
committerDavid Vo <auscompgeek@users.noreply.github.com>2017-10-26 23:25:18 +1100
commit6c2331f7e581acc5876458794e1a91a75f5e2d70 (patch)
tree4a2e310a04648f1090564a6e4188e60e69f9fa8d /wee_slack.py
parenta7df9a1c7e4699e1ace40454d3f951699bdf6753 (diff)
downloadwee-slack-6c2331f7e581acc5876458794e1a91a75f5e2d70.tar.gz
Set the server buffer variable on server 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 831a9f2..c354bf5 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1021,6 +1021,7 @@ class SlackTeam(object):
self.eventrouter.weechat_controller.register_buffer(self.channel_buffer, self)
w.buffer_set(self.channel_buffer, "localvar_set_type", 'server')
w.buffer_set(self.channel_buffer, "localvar_set_nick", self.nick)
+ w.buffer_set(self.channel_buffer, "localvar_set_server", self.preferred_name)
if w.config_string(w.config_get('irc.look.server_buffer')) == 'merge_with_core':
w.buffer_merge(self.channel_buffer, w.buffer_search_main())
w.buffer_set(self.channel_buffer, "nicklist", "1")