diff --git a/service/service.go b/service/service.go index 0c01dce..bfacf80 100644 --- a/service/service.go +++ b/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++ } }