diff options
author | Wim <wim@42.be> | 2020-08-21 00:14:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 00:14:33 +0200 |
commit | b451285af70df0651989b43149eb748648ac8c1b (patch) | |
tree | 9a3d9f9093cdceb7325bcddfda36983862b5b80b /vendor/github.com/matterbridge/gozulipbot/bot.go | |
parent | 63a1847cdc895a3e968c567c20d20359f0785ce2 (diff) | |
download | matterbridge-msglm-b451285af70df0651989b43149eb748648ac8c1b.tar.gz matterbridge-msglm-b451285af70df0651989b43149eb748648ac8c1b.tar.bz2 matterbridge-msglm-b451285af70df0651989b43149eb748648ac8c1b.zip |
Sync with upstream gozulipbot fixes (#1202)
Diffstat (limited to 'vendor/github.com/matterbridge/gozulipbot/bot.go')
-rw-r--r-- | vendor/github.com/matterbridge/gozulipbot/bot.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vendor/github.com/matterbridge/gozulipbot/bot.go b/vendor/github.com/matterbridge/gozulipbot/bot.go index 24bc8768..f5644a29 100644 --- a/vendor/github.com/matterbridge/gozulipbot/bot.go +++ b/vendor/github.com/matterbridge/gozulipbot/bot.go @@ -186,10 +186,6 @@ func (b *Bot) RegisterEvents(ets []EventType, n Narrow) (*Queue, error) { return nil, err } - if q.LastEventID < q.MaxMessageID { - q.LastEventID = q.MaxMessageID - } - b.Queues = append(b.Queues, q) return q, nil |