mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-23 07:23:00 +00:00
Fix notification count
This commit is contained in:
parent
55987a4c1b
commit
5fdc7a59b2
@ -450,7 +450,7 @@ func (svc *service) ServeNotificationPage(ctx context.Context, client io.Writer,
|
|||||||
notifications[i].Status.HideAccountInfo = true
|
notifications[i].Status.HideAccountInfo = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if notifications[i].Pleroma != nil && notifications[i].Pleroma.IsSeen {
|
if notifications[i].Pleroma != nil && !notifications[i].Pleroma.IsSeen {
|
||||||
unreadCount++
|
unreadCount++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user