More fixes to user upgrading.
This commit is contained in:
parent
efd4d04933
commit
01d5ef65fa
2 changed files with 3 additions and 3 deletions
|
|
@ -203,7 +203,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
data = data
|
||||
|> Map.put(:info, Map.merge(user.info, data[:info]))
|
||||
|
||||
old_follower_address = user.follower_address
|
||||
old_follower_address = User.ap_followers(user)
|
||||
{:ok, user} = User.upgrade_changeset(user, data)
|
||||
|> Repo.update()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue