aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-06-10 08:28:56 -0700
committerRyan Huber <rhuber@gmail.com>2015-06-10 08:28:56 -0700
commita3a2b5b020fe2f42c6499af5cea7a1e5b8608b91 (patch)
tree09d420b8ab4e6e816f2e71e465bfb1c45556e791 /wee_slack.py
parent32b784d7ef362b7866e174a578fc27010c06bddb (diff)
parentde04d8edc3fa94d3bfbcc337ec88ae1f53e13284 (diff)
downloadwee-slack-a3a2b5b020fe2f42c6499af5cea7a1e5b8608b91.tar.gz
Merge pull request #83 from pbrisbin/pb-prompt
Set nick localvar when attaching 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 a0a38d6..b64fa04 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -406,6 +406,7 @@ class Channel(SlackThing):
channel_buffer = w.buffer_search("", "{}.{}".format(self.server.domain, self.name))
if channel_buffer != main_weechat_buffer:
self.channel_buffer = channel_buffer
+ w.buffer_set(self.channel_buffer, "localvar_set_nick", self.server.nick)
# w.buffer_set(self.channel_buffer, "highlight_words", self.server.nick)
else:
self.channel_buffer = None