Commit 1685e425 authored by kaniini's avatar kaniini
Browse files

transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always...

transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always use the fake collection
parent 67ff8d93
Pipeline #9139 passed with stages
in 6 minutes and 15 seconds
......@@ -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(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment