mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 13:06:21 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
96ba6222f7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class ActivityPub
|
||||||
instance_scope = site.instance_moderations.joins(:instance)
|
instance_scope = site.instance_moderations.joins(:instance)
|
||||||
actor_scope = site.actor_moderations.joins(:actor)
|
actor_scope = site.actor_moderations.joins(:actor)
|
||||||
|
|
||||||
blocklist = wildcardize(instance_scope.blocked.pluck(:hostname)) + actor_scope.blocked.distinct.pluck(:mention).compact
|
blocklist = wildcardize(instance_scope.blocked.pluck(:hostname)) + actor_scope.blocked.distinct.pluck(:mention).compact + actor_scope.reported.distinct.pluck(:mention).compact
|
||||||
allowlist = wildcardize(instance_scope.allowed.pluck(:hostname)) + actor_scope.allowed.distinct.pluck(:mention).compact
|
allowlist = wildcardize(instance_scope.allowed.pluck(:hostname)) + actor_scope.allowed.distinct.pluck(:mention).compact
|
||||||
pauselist = wildcardize(instance_scope.paused.pluck(:hostname)) + actor_scope.paused.distinct.pluck(:mention).compact
|
pauselist = wildcardize(instance_scope.paused.pluck(:hostname)) + actor_scope.paused.distinct.pluck(:mention).compact
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue