Only set typing indicator in short_name
We shouldn't change the full name for typing indicators because autosort
will reorder the buffer, and it may break scripts using the full name.
We didn't show typing indicator until the previous commit anyways,
because the full name was never updated until that.
@@ -1715,7 +1715,7 @@ class SlackChannel(SlackChannelCommon):
w.buffer_set(self.channel_buffer, "hotlist", "1")
def formatted_name(self, style="default", typing=False, **kwargs):
- if typing and config.channel_name_typing_indicator:
+ if style == "sidebar" and typing and config.channel_name_typing_indicator:
prepend = ">"
elif self.type == "group" or self.type == "private":
prepend = config.group_name_prefix
