summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/gozulipbot/bot.go
diff options
context:
space:
mode:
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