aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 94b4dc2..1f74696 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1629,6 +1629,16 @@ def process_group_archive(message_json):
channel.detach_buffer()
+def process_mpim_close(message_json):
+ server = servers.find(message_json["_server"])
+ server.channels.find(message_json["channel"]).close(False)
+
+
+def process_mpim_open(message_json):
+ server = servers.find(message_json["_server"])
+ server.channels.find(message_json["channel"]).open()
+
+
def process_im_close(message_json):
server = servers.find(message_json["_server"])
server.channels.find(message_json["channel"]).close(False)