mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 07:27:43 +00:00
go back to /message/inbox and track pointer ourselves
This commit is contained in:
parent
71884ccb80
commit
ec138dbe4f
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue