Fix invalid status notifications not being removed

Closes #416
This commit is contained in:
Shadowfacts 2023-06-26 20:38:10 -07:00
parent 4b43726e1d
commit 4182c15500
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ extension NotificationsCollectionViewController {
private func validateNotifications(_ notifications: [Pachyderm.Notification]) -> [Pachyderm.Notification] {
return notifications.compactMap { notif in
if notif.status == nil && (notif.kind == .mention || notif.kind == .reblog || notif.kind == .favourite) {
if notif.status == nil && (notif.kind == .mention || notif.kind == .reblog || notif.kind == .favourite || notif.kind == .status) {
let crumb = Breadcrumb(level: .fatal, category: "notifications")
crumb.data = [
"id": notif.id,