Allows Reported messages to appear (with warning) in notifications.

This commit is contained in:
Vitor Pamplona 2023-02-18 19:05:33 -05:00
parent 0d1bf72708
commit b7c72a282f

View File

@ -15,8 +15,7 @@ object NotificationFeedFilter: FeedFilter<Note>() {
override fun feed(): List<Note> {
return account.userProfile().taggedPosts
.filter { it.event != null }
.filter { account.isAcceptable(it) }
.filter { it.author == null || !account.isHidden(it.author!!) }
.filter {
it.event !is ChannelCreateEvent
&& it.event !is ChannelMetadataEvent