diff options
-rw-r--r-- | slack/slack_conversation.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py index fb5554d..d1e5707 100644 --- a/slack/slack_conversation.py +++ b/slack/slack_conversation.py @@ -66,9 +66,12 @@ class SlackConversation: else: self.name = info_channel["name"] + full_name = f"{shared.SCRIPT_NAME}.{self.workspace.name}.{self.name}" + self.buffer_pointer = weechat.buffer_new( - self.name, get_callback_name(self.buffer_input_cb), "", "", "" + full_name, get_callback_name(self.buffer_input_cb), "", "", "" ) + weechat.buffer_set(self.buffer_pointer, "short_name", self.name) weechat.buffer_set( self.buffer_pointer, "localvar_set_nick", self.workspace.my_user.nick() ) |