diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wee_slack.py b/wee_slack.py index 2e94222..08cf0d4 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1458,9 +1458,7 @@ class SlackChannel(SlackChannelCommon): def render_topic(self): if self.channel_buffer: - topic = self.topic['value'] - if topic == "": - topic = self.slack_purpose['value'] + topic = self.topic['value'] or self.slack_purpose['value'] topic = unhtmlescape(unfurl_refs(topic, ignore_alt_text=False)) w.buffer_set(self.channel_buffer, "title", topic) |