diff options
author | Wim <wim@42.be> | 2021-10-23 23:13:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-23 23:13:07 +0200 |
commit | 8967f02fc9762657f755c118ce7a54acb750a53f (patch) | |
tree | 6d066bee8d6cafa32a4e5e7ba620fdbed7f629c0 /vendor/github.com/matterbridge/gozulipbot/queue.go | |
parent | 831ff6d0a9bb77a283cc823a953de430ad6b0f8d (diff) | |
download | matterbridge-msglm-8967f02fc9762657f755c118ce7a54acb750a53f.tar.gz matterbridge-msglm-8967f02fc9762657f755c118ce7a54acb750a53f.tar.bz2 matterbridge-msglm-8967f02fc9762657f755c118ce7a54acb750a53f.zip |
Update gozulipbot dependency (#1618)
Diffstat (limited to 'vendor/github.com/matterbridge/gozulipbot/queue.go')
-rw-r--r-- | vendor/github.com/matterbridge/gozulipbot/queue.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/gozulipbot/queue.go b/vendor/github.com/matterbridge/gozulipbot/queue.go index 77aef7fc..b90205c1 100644 --- a/vendor/github.com/matterbridge/gozulipbot/queue.go +++ b/vendor/github.com/matterbridge/gozulipbot/queue.go @@ -151,6 +151,8 @@ func (q *Queue) GetEvents() ([]EventMessage, error) { switch { case resp.StatusCode == 429: return nil, BackoffError + case resp.StatusCode == 401: + return nil, UnauthorizedError case resp.StatusCode == 403: return nil, UnauthorizedError case resp.StatusCode >= 400: |