forked from mirrors/akkoma
transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always use the fake collection
This commit is contained in:
parent
67ff8d9311
commit
1685e4258f
|
@ -955,7 +955,8 @@ defp strip_internal_tags(%{"tag" => tags} = object) do
|
||||||
defp strip_internal_tags(object), do: object
|
defp strip_internal_tags(object), do: object
|
||||||
|
|
||||||
defp user_upgrade_task(user) do
|
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 =
|
q =
|
||||||
from(
|
from(
|
||||||
|
|
Loading…
Reference in a new issue