activitypub transmogrifier: fix locked account state from being clobbered

This commit is contained in:
William Pitcock 2018-06-08 02:18:47 +00:00
parent a003bdc30a
commit 47c7e259c4

View File

@ -252,7 +252,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
{:ok, new_user_data} = ActivityPub.user_data_from_user_object(object)
banner = new_user_data[:info]["banner"]
locked = new_user_data[:info]["manuallyApprovesFollowers"] || false
locked = new_user_data[:info]["locked"]
update_data =
new_user_data