aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2017-10-26 14:44:33 +0200
committerGitHub <noreply@github.com>2017-10-26 14:44:33 +0200
commit3eff1de49d3aba1d991b7b6953e6b55a24fdecd9 (patch)
tree4a2e310a04648f1090564a6e4188e60e69f9fa8d /wee_slack.py
parenta7df9a1c7e4699e1ace40454d3f951699bdf6753 (diff)
parent6c2331f7e581acc5876458794e1a91a75f5e2d70 (diff)
downloadwee-slack-3eff1de49d3aba1d991b7b6953e6b55a24fdecd9.tar.gz
Merge pull request #460 from auscompgeek/fix-server-buffer-var
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")