diff options
author | Tollef Fog Heen <tfheen@err.no> | 2015-03-24 10:39:05 +0100 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2015-03-24 10:39:05 +0100 |
commit | 2aba0ca7eaec29b0834283911d05792086b73819 (patch) | |
tree | beb7963ced49d5c192b89d935ea419e9556ca7f1 /wee_slack.py | |
parent | 60800f874bef343cd9871605c8e988ced1949e69 (diff) | |
download | wee-slack-2aba0ca7eaec29b0834283911d05792086b73819.tar.gz |
Format topic changes properly too
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |