aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-06-14 00:09:27 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2020-06-14 00:12:55 +0200
commitf8f63511675c26df61c214e74bb90661496ceb0e (patch)
treed6e8d98f6a8e72a7076841db65d01d6104befdec /wee_slack.py
parent42a093924e71b5cb45818a679dd0850c5766a7c8 (diff)
downloadwee-slack-f8f63511675c26df61c214e74bb90661496ceb0e.tar.gz
Include channel name in thread localvar channel
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
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),
}