diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/wee_slack.py b/wee_slack.py index 66a1fc2..96932d3 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1838,10 +1838,9 @@ class SlackDMChannel(SlackChannel): print_color = self.color else: print_color = "" - if not present: - prepend = " " - else: - prepend = "+" + prepend = "" + if config.show_buflist_presence: + prepend = "+" if present else " " select = { "default": self.slack_name, "sidebar": prepend + self.slack_name, @@ -4054,6 +4053,9 @@ class PluginConfig(object): default='false', desc='Use `foo.#channel` rather than `foo.slack.com.#channel` as the' ' internal name for Slack buffers. Overrides server_aliases.'), + 'show_buflist_presence': Setting( + default='true', + desc='Display a `+` character in the buffer list for present users.'), 'show_reaction_nicks': Setting( default='false', desc='Display the name of the reacting user(s) alongside each reactji.'), |