Revert "Skip deactivated users in followers import"

This reverts commit 8ad015ef64.
This commit is contained in:
Egor Kislitsyn 2019-10-21 14:52:52 +07:00
parent c6fba62666
commit e37d4b2ddf
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805

View file

@ -55,7 +55,6 @@ defp import_following_from_activities do
WHERE
activities.data ->> 'type' = 'Follow'
AND activities.data ->> 'state' IN ('accept', 'pending', 'reject')
AND NOT (followers.info ? 'deactivated' AND followers.info -> 'deactivated' @> 'true')
ORDER BY activities.updated_at DESC
ON CONFLICT DO NOTHING
"""