mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 02:05:12 +00:00
Merge branch 'hotfix/missing-announce-mastoapi' into 'develop'
Fix missing announces in MastoAPI home timeline Closes #762 See merge request pleroma/pleroma!983
This commit is contained in:
commit
6da1999fc8
|
@ -737,8 +737,13 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
|
||||
from(
|
||||
activity in query,
|
||||
where: fragment("not ?->>'type' = 'Announce'", activity.data),
|
||||
where: fragment("not ? = ANY(?)", activity.actor, ^muted_reblogs)
|
||||
where:
|
||||
fragment(
|
||||
"not ( ?->>'type' = 'Announce' and ? = ANY(?))",
|
||||
activity.data,
|
||||
activity.actor,
|
||||
^muted_reblogs
|
||||
)
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue