diff options
author | Ryan Huber <rhuber@gmail.com> | 2015-01-21 20:49:28 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2015-01-21 20:49:28 -0800 |
commit | 000ad14cb61c6fecaa1a971a90ea56e6d795a76b (patch) | |
tree | c414e4e503be27eb22af656fe5b6be73a167b5c9 | |
parent | 8fa266d0fb6ae45535efad6169408b3b1ab2ba36 (diff) | |
download | wee-slack-000ad14cb61c6fecaa1a971a90ea56e6d795a76b.tar.gz |
open channel if needed to print message
-rw-r--r-- | wee_slack.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index b71cbdc..5de003c 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1022,6 +1022,7 @@ def process_message(message_json): #do not process messages in unexpected channels if not channel.active: + channel.open(False) dbg("message came for closed channel {}".format(channel.name)) return |