Notifications from now on don't show the authors posts. Fixes: https://github.com/vitorpamplona/amethyst/issues/111
This commit is contained in:
@@ -15,7 +15,7 @@ object NotificationFeedFilter: FeedFilter<Note>() {
|
||||
|
||||
override fun feed(): List<Note> {
|
||||
return account.userProfile().taggedPosts
|
||||
.filter { it.author == null || !account.isHidden(it.author!!) }
|
||||
.filter { it.author == null || (!account.isHidden(it.author!!) && it.author != account.userProfile()) }
|
||||
.filter {
|
||||
it.event !is ChannelCreateEvent
|
||||
&& it.event !is ChannelMetadataEvent
|
||||
|
||||
Reference in New Issue
Block a user