go back to /message/inbox and track pointer ourselves

This commit is contained in:
Andre Medeiros 2021-07-14 14:56:43 -04:00
parent 71884ccb80
commit ec138dbe4f

View file

@ -248,7 +248,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
nc.logger.WithFields(logrus.Fields{
"accountID": id,
}).Debug("fetching message inbox")
msgs, err := rac.MessageUnread(account.LastMessageID)
msgs, err := rac.MessageInbox(account.LastMessageID)
if err != nil {
nc.logger.WithFields(logrus.Fields{