diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-04-05 19:15:47 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-04-05 20:04:10 +0200 |
commit | 54d3c081a26fbe14426ae353f0949c69341d3109 (patch) | |
tree | 3f329e358cb0cad24afee6e045321af55a9416bf /_pytest/test_command_reply.py | |
parent | 1fb2018b17efa27261810fde572fcb932ec749c6 (diff) | |
download | wee-slack-54d3c081a26fbe14426ae353f0949c69341d3109.tar.gz |
Stop calling thread.mark if not supported
The subscriptions.thread.mark method is only supported for the tokens
the web client use, not by oauth or legacy tokens, so if we get an error
that it's not supported for the current token type, remove it from
slack_api_translator so we don't keep calling it. slack_api_translator
is moved to a team attribute because different teams may use different
token types.
Diffstat (limited to '_pytest/test_command_reply.py')
0 files changed, 0 insertions, 0 deletions