forked from shadowfacts/Tusker
parent
4b43726e1d
commit
4182c15500
|
@ -404,7 +404,7 @@ extension NotificationsCollectionViewController {
|
||||||
|
|
||||||
private func validateNotifications(_ notifications: [Pachyderm.Notification]) -> [Pachyderm.Notification] {
|
private func validateNotifications(_ notifications: [Pachyderm.Notification]) -> [Pachyderm.Notification] {
|
||||||
return notifications.compactMap { notif in
|
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")
|
let crumb = Breadcrumb(level: .fatal, category: "notifications")
|
||||||
crumb.data = [
|
crumb.data = [
|
||||||
"id": notif.id,
|
"id": notif.id,
|
||||||
|
|
Loading…
Reference in New Issue