mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-25 15:00:55 +02:00
Adds citations to the notification feed
This commit is contained in:
@@ -23,7 +23,9 @@ object NotificationFeedFilter : FeedFilter<Note>() {
|
|||||||
}
|
}
|
||||||
.filter { it ->
|
.filter { it ->
|
||||||
it.event !is TextNoteEvent ||
|
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()
|
loggedInUser in it.directlyCiteUsers()
|
||||||
}
|
}
|
||||||
.filter {
|
.filter {
|
||||||
|
Reference in New Issue
Block a user