mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 23:36:21 +02:00
Allows Reported messages to appear (with warning) in notifications.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user