mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 03:19:17 +00:00
[stable rewrite]: fix streamer streaming out announces from a muted thread
Use parent object instead of activity because context is null of Announce activity from Mastodon.
This commit is contained in:
parent
9396b2f8cf
commit
f10b40828f
|
@ -147,7 +147,7 @@ defp should_send?(%User{} = user, %Activity{} = item) do
|
|||
false <- Pleroma.Web.ActivityPub.MRF.subdomain_match?(domain_blocks, item_host),
|
||||
false <- Pleroma.Web.ActivityPub.MRF.subdomain_match?(domain_blocks, parent_host),
|
||||
true <- thread_containment(item, user),
|
||||
false <- CommonAPI.thread_muted?(user, item) do
|
||||
false <- CommonAPI.thread_muted?(user, parent) do
|
||||
true
|
||||
else
|
||||
_ -> false
|
||||
|
|
Loading…
Reference in a new issue