mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:36:21 +00:00
fix: las cuentas reportadas también están bloqueadas #15649
This commit is contained in:
parent
eafa6fad37
commit
28053b2a56
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class ActivityPub
|
|||
instance_scope = site.instance_moderations.joins(:instance)
|
||||
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
|
||||
pauselist = wildcardize(instance_scope.paused.pluck(:hostname)) + actor_scope.paused.distinct.pluck(:mention).compact
|
||||
|
||||
|
|
Loading…
Reference in a new issue