transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always use the fake collection

This commit is contained in:
William Pitcock 2019-03-19 18:39:33 +00:00
parent 67ff8d9311
commit 1685e4258f
1 changed files with 2 additions and 1 deletions

View File

@ -955,7 +955,8 @@ defp strip_internal_tags(%{"tag" => tags} = object) do
defp strip_internal_tags(object), do: object
defp user_upgrade_task(user) do
old_follower_address = User.ap_followers(user)
# we pass a fake user so that the followers collection is stripped away
old_follower_address = User.ap_followers(%User{nickname: user.nickname})
q =
from(