Fix notification count

master
r 3 years ago
parent 55987a4c1b
commit 5fdc7a59b2
  1. 2
      service/service.go

@ -450,7 +450,7 @@ func (svc *service) ServeNotificationPage(ctx context.Context, client io.Writer,
notifications[i].Status.HideAccountInfo = true
}
}
if notifications[i].Pleroma != nil && notifications[i].Pleroma.IsSeen {
if notifications[i].Pleroma != nil && !notifications[i].Pleroma.IsSeen {
unreadCount++
}
}

Loading…
Cancel
Save