diff options
author | r <r@freesoftwareextremist.com> | 2020-01-15 06:01:36 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-15 06:01:36 +0000 |
commit | 5fdc7a59b2efc60e35f5421e28986c356810456e (patch) | |
tree | 371f0726f830989a88add9e7136409c714b531c9 /service | |
parent | 55987a4c1bd7364eba7438e7326a76a9a550b668 (diff) | |
download | bloat-5fdc7a59b2efc60e35f5421e28986c356810456e.tar.gz bloat-5fdc7a59b2efc60e35f5421e28986c356810456e.zip |
Fix notification count
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
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++ } } |