summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/gozulipbot/bot.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-08-21 00:14:33 +0200
committerGitHub <noreply@github.com>2020-08-21 00:14:33 +0200
commitb451285af70df0651989b43149eb748648ac8c1b (patch)
tree9a3d9f9093cdceb7325bcddfda36983862b5b80b /vendor/github.com/matterbridge/gozulipbot/bot.go
parent63a1847cdc895a3e968c567c20d20359f0785ce2 (diff)
downloadmatterbridge-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.go4
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