From 2aba0ca7eaec29b0834283911d05792086b73819 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 24 Mar 2015 10:39:05 +0100 Subject: Format topic changes properly too --- wee_slack.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wee_slack.py') diff --git a/wee_slack.py b/wee_slack.py index 7298a8c..b444aa3 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1245,6 +1245,8 @@ def process_message(message_json): channel.buffer_prnt(w.prefix("quit").rstrip(), text, time) elif message_json.get("subtype", "") == "channel_join": channel.buffer_prnt(w.prefix("join").rstrip(), text, time) + elif message_json.get("subtype", "") == "channel_topic": + channel.buffer_prnt(w.prefix("network").rstrip(), text, time) else: channel.buffer_prnt(name, text, time) except: -- cgit