diff options
author | Tollef Fog Heen <tfheen@err.no> | 2017-07-28 21:25:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-28 21:25:49 +0200 |
commit | 35d508a63bd29a2d99aa2865236d4bec50489dd7 (patch) | |
tree | 43eb7f51218aafa275fd75b94458e6ac51323595 /wee_slack.py | |
parent | d1c08ec0999377adb3cf1f0f96e42591fd6e4ce8 (diff) | |
parent | 010cae50aed793360cbb39aec59f141d8ae1309a (diff) | |
download | wee-slack-35d508a63bd29a2d99aa2865236d4bec50489dd7.tar.gz |
Merge pull request #411 from auscompgeek/fix-open-thread
Fix opening thread buffers
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index fd627e1..2b2e787 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1772,7 +1772,7 @@ class SlackThreadChannel(object): self.channel_buffer = w.buffer_new(self.formatted_name(style="long_default"), "buffer_input_callback", "EVENTROUTER", "", "") self.eventrouter.weechat_controller.register_buffer(self.channel_buffer, self) 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_nick", self.parent_message.team.nick) w.buffer_set(self.channel_buffer, "localvar_set_channel", self.formatted_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")) |