Rename thread full name even when label is set
Label is only for the short_name, so we should always rename the full
name.
@@ -2520,8 +2520,9 @@ class SlackThreadChannel(SlackChannelCommon):
self.rename()
def rename(self):
- if self.channel_buffer and not self.label:
+ if self.channel_buffer:
w.buffer_set(self.channel_buffer, "name", self.formatted_name(style="long_default"))
+ if not self.label:
w.buffer_set(self.channel_buffer, "short_name", self.formatted_name(style="sidebar"))
def set_highlights(self, highlight_string=None):
