From f8f63511675c26df61c214e74bb90661496ceb0e Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 14 Jun 2020 00:09:27 +0200 Subject: Include channel name in thread localvar channel --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wee_slack.py b/wee_slack.py index fc6a19e..e5620ac 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2469,7 +2469,7 @@ class SlackThreadChannel(SlackChannelCommon): def formatted_name(self, style="default"): thread_hash = self.parent_message.hash styles = { - "default": " +{}".format(thread_hash), + "default": "{}.{}".format(self.parent_channel.formatted_name(), thread_hash), "long_default": "{}.{}".format(self.parent_channel.formatted_name(style="long_default"), thread_hash), "sidebar": " +{}".format(self.label or thread_hash), } -- cgit