diff options
author | Eric Wang <gnawrice@gmail.com> | 2017-10-10 00:55:01 -0700 |
---|---|---|
committer | Eric Wang <gnawrice@gmail.com> | 2017-10-10 00:55:01 -0700 |
commit | 4bdc294fbcd502ca693028a6a93ccbcadd3e1e12 (patch) | |
tree | 5a48c66a9656b970a15ee5b3a524adffd3d20ccf /_pytest/test_slackteam.py | |
parent | 31c7e9acde467b8df8efc319fad1971d387b1361 (diff) | |
download | wee-slack-4bdc294fbcd502ca693028a6a93ccbcadd3e1e12.tar.gz |
Fix errors when joining DMs and multiparty DMs
- The DM error was caused by not specifying `return_im`
(https://api.slack.com/methods/im.open#arguments) in the request which
led to `unread_count_display` not being included in the response and a
KeyError in `handle_imopen`
- The MPDM error was caused by using "name" instead of "channel" for the
channel ID (https://api.slack.com/methods/groups.info#arguments) in the
request which led to an error response and a KeyError in
`handle_groupsinfo`
Diffstat (limited to '_pytest/test_slackteam.py')
0 files changed, 0 insertions, 0 deletions