aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 2f75b52..de2b6ce 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2469,7 +2469,8 @@ class SlackThreadChannel(SlackChannelCommon):
def formatted_name(self, style="default"):
thread_hash = self.parent_message.hash
if style == "sidebar":
- return " +{}".format(self.label or thread_hash)
+ indent = w.config_string(w.config_get("buflist.format.indent"))
+ return "{}+{}".format(indent, self.label or thread_hash)
elif style == "long_default":
channel_name = self.parent_channel.formatted_name(style="long_default")
return "{}.{}".format(channel_name, thread_hash)