mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Fix alerts
This commit is contained in:
parent
e74296d767
commit
a1eaf25dec
@ -26,7 +26,7 @@
|
||||
// is really upstream of this, but it's an easy fix
|
||||
const events = user
|
||||
.applyMutes(database.alerts.all())
|
||||
.filter(e => any(k => e[k].length > 0, ["replies", "likedBy", "zappedBy"]) || e.isMention)
|
||||
.filter(e => any(k => e[k]?.length > 0, ["replies", "likedBy", "zappedBy"]) || e.isMention)
|
||||
|
||||
notes = sortBy(e => -e.created_at, events).slice(0, limit)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user