mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 14:01:01 +02:00
Adds citations to the notification feed
This commit is contained in:
@@ -23,7 +23,9 @@ object NotificationFeedFilter : FeedFilter<Note>() {
|
||||
}
|
||||
.filter { it ->
|
||||
it.event !is TextNoteEvent ||
|
||||
it.replyTo?.any { it.author == loggedInUser } == true ||
|
||||
(it.event as? TextNoteEvent)?.taggedEvents()?.any {
|
||||
LocalCache.checkGetOrCreateNote(it)?.author == loggedInUser
|
||||
} == true ||
|
||||
loggedInUser in it.directlyCiteUsers()
|
||||
}
|
||||
.filter {
|
||||
|
Reference in New Issue
Block a user