activitypub transmogrifier: learn locked state in Update messages

This commit is contained in:
William Pitcock 2018-05-26 15:03:32 +00:00
parent e5206752e1
commit 6041380774

View file

@ -254,7 +254,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]["locked"]
locked = new_user_data[:info]["locked"] || false
update_data =
new_user_data