Revert "Skip deactivated users in followers import"
This reverts commit 8ad015ef64
.
This commit is contained in:
parent
c6fba62666
commit
e37d4b2ddf
|
@ -55,7 +55,6 @@ defp import_following_from_activities do
|
||||||
WHERE
|
WHERE
|
||||||
activities.data ->> 'type' = 'Follow'
|
activities.data ->> 'type' = 'Follow'
|
||||||
AND activities.data ->> 'state' IN ('accept', 'pending', 'reject')
|
AND activities.data ->> 'state' IN ('accept', 'pending', 'reject')
|
||||||
AND NOT (followers.info ? 'deactivated' AND followers.info -> 'deactivated' @> 'true')
|
|
||||||
ORDER BY activities.updated_at DESC
|
ORDER BY activities.updated_at DESC
|
||||||
ON CONFLICT DO NOTHING
|
ON CONFLICT DO NOTHING
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue