diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2021-05-09 12:47:30 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2021-05-11 22:17:40 +0200 |
commit | d933488b7272106a4720591673528ecdf4cef913 (patch) | |
tree | e7d868258f231c44d07b5b2a48e2ab7ac70378a2 /_pytest/data/http | |
parent | 33d167db20408cad4d635e69493ab7dbc67b12b2 (diff) | |
download | wee-slack-d933488b7272106a4720591673528ecdf4cef913.tar.gz |
Support MPIMs in channel list of rtm.start
For some reason, some MPIMs are listed in the channel list of the
response from rtm.start, with is_mpim set to true, instead of in the
mpims list. These incorrectly appeared as private channels instead of
MPIMs in wee-slack.
These entries do not contain a members list, so we have to call
conversations.members and set the name after receiving the response from
that.
Diffstat (limited to '_pytest/data/http')
-rw-r--r-- | _pytest/data/http/rtm.start.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_pytest/data/http/rtm.start.json b/_pytest/data/http/rtm.start.json index 972df4b..b827907 100644 --- a/_pytest/data/http/rtm.start.json +++ b/_pytest/data/http/rtm.start.json @@ -312,6 +312,7 @@ "has_pins": false, "is_member": true, "is_private": false, + "is_mpim": false, "last_read": "1485976236.000019", "latest": { "type": "message", @@ -400,6 +401,7 @@ "has_pins": false, "is_member": false, "is_private": false, + "is_mpim": false, "previous_names": [] }, { @@ -415,6 +417,7 @@ "has_pins": false, "is_member": true, "is_private": false, + "is_mpim": false, "last_read": "1485969592.000002", "latest": { "user": "U4096CBHC", @@ -455,6 +458,7 @@ "has_pins": false, "is_member": false, "is_private": false, + "is_mpim": false, "previous_names": [ "some-channel2" ] |