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
1 changed files with 0 additions and 1 deletions

View File

@ -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
""" """