mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-10 18:33:51 +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> {
|
override fun feed(): List<Note> {
|
||||||
return account.userProfile().taggedPosts
|
return account.userProfile().taggedPosts
|
||||||
.filter { it.event != null }
|
.filter { it.author == null || !account.isHidden(it.author!!) }
|
||||||
.filter { account.isAcceptable(it) }
|
|
||||||
.filter {
|
.filter {
|
||||||
it.event !is ChannelCreateEvent
|
it.event !is ChannelCreateEvent
|
||||||
&& it.event !is ChannelMetadataEvent
|
&& it.event !is ChannelMetadataEvent
|
||||||
|
Reference in New Issue
Block a user