mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Fixes likes not showing up in Notifications
This commit is contained in:
parent
30ab477d7d
commit
e7b6ca1bb2
@ -344,8 +344,8 @@ class Account(
|
||||
fun isAcceptable(note: Note): Boolean {
|
||||
return note.author?.let { isAcceptable(it) } ?: true // if user hasn't hided this author
|
||||
&& isAcceptableDirect(note)
|
||||
&& (note.event !is ReactionEvent
|
||||
|| (note.event is ReactionEvent && note.replyTo?.firstOrNull { isAcceptableDirect(note) } == null)
|
||||
&& (note.event !is RepostEvent
|
||||
|| (note.event is RepostEvent && note.replyTo?.firstOrNull { isAcceptableDirect(note) } != null)
|
||||
) // is not a reaction about a blocked post
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user