diff options
author | Wim <wim@42.be> | 2019-01-30 23:26:36 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2019-01-30 23:28:37 +0100 |
commit | 4ae028fe73c9b5217b3b4a403432d18bee18a057 (patch) | |
tree | 5380a88faf2d208c4a31296ee2a8c33effc12cfc /vendor/github.com/nlopes/slack/comment.go | |
parent | 707db950c83e7fe2578ec206c6eeb330cc2f5f5b (diff) | |
download | matterbridge-msglm-4ae028fe73c9b5217b3b4a403432d18bee18a057.tar.gz matterbridge-msglm-4ae028fe73c9b5217b3b4a403432d18bee18a057.tar.bz2 matterbridge-msglm-4ae028fe73c9b5217b3b4a403432d18bee18a057.zip |
Optimize handling of very large slack teams. Fixes #695
Stop getting users if we reach 2000 users. Slack will rate-limit us
even if we follow their limits.
This means that we now have to lookup every user that says a message
for the first time. This should be less intensive on the API.
This also disables partly fb713ed91bfb48c0037e489f80be85c54e69953a for now.
ChannelMembers will not be filled.
Diffstat (limited to 'vendor/github.com/nlopes/slack/comment.go')
0 files changed, 0 insertions, 0 deletions