aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-05-21 01:37:17 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2020-05-22 21:27:30 +0200
commit3cbc46b07e1ef503672cbb98f21efb559ec64681 (patch)
treed666bf85614be375e30b2724afe544d332d7f881 /wee_slack.py
parent92980bf427b0630d4405fedec384c2e24ccccab9 (diff)
downloadwee-slack-3cbc46b07e1ef503672cbb98f21efb559ec64681.tar.gz
Remove unused formatted_name styles
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 5f93a60..2c97fab 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1740,9 +1740,7 @@ class SlackChannel(SlackChannelCommon):
select = {
"default": prepend + self.slack_name,
"sidebar": colorize_string(sidebar_color, prepend + self.slack_name),
- "base": self.slack_name,
"long_default": "{}.{}{}".format(self.team.preferred_name, prepend, self.slack_name),
- "long_base": "{}.{}".format(self.team.preferred_name, self.slack_name),
}
return select[style]
@@ -2110,9 +2108,7 @@ class SlackDMChannel(SlackChannel):
select = {
"default": self.slack_name,
"sidebar": prepend + self.slack_name,
- "base": self.slack_name,
"long_default": "{}.{}".format(self.team.preferred_name, self.slack_name),
- "long_base": "{}.{}".format(self.team.preferred_name, self.slack_name),
}
if config.colorize_private_chats and enable_color:
return colorize_string(self.color_name, select[style])
@@ -2219,9 +2215,7 @@ class SlackMPDMChannel(SlackChannel):
select = {
"default": self.name,
"sidebar": prepend + self.name,
- "base": self.name,
"long_default": "{}.{}".format(self.team.preferred_name, self.name),
- "long_base": "{}.{}".format(self.team.preferred_name, self.name),
}
return select[style]