mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-09 20:39:24 +02:00
Allows Reported messages to appear (with warning) in notifications.
This commit is contained in:
parent
0d1bf72708
commit
b7c72a282f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user