mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-06-28 15:10:52 +02:00
Bugfix: consider flags of the referenced post in case of Boost events.
This commit is contained in:
parent
2a5f8595d0
commit
40deb46eab
@ -378,7 +378,7 @@ class Account(
|
|||||||
return note.author?.let { isAcceptable(it) } ?: true // if user hasn't hided this author
|
return note.author?.let { isAcceptable(it) } ?: true // if user hasn't hided this author
|
||||||
&& isAcceptableDirect(note)
|
&& isAcceptableDirect(note)
|
||||||
&& (note.event !is RepostEvent
|
&& (note.event !is RepostEvent
|
||||||
|| (note.event is RepostEvent && note.replyTo?.firstOrNull { isAcceptableDirect(note) } != null)
|
|| (note.event is RepostEvent && note.replyTo?.firstOrNull { isAcceptableDirect(it) } != null)
|
||||||
) // is not a reaction about a blocked post
|
) // is not a reaction about a blocked post
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user