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 @@ def handle_incoming(
{:ok, new_user_data} = ActivityPub.user_data_from_user_object(object) {:ok, new_user_data} = ActivityPub.user_data_from_user_object(object)
banner = new_user_data[:info]["banner"] banner = new_user_data[:info]["banner"]
locked = new_user_data[:info]["locked"] locked = new_user_data[:info]["locked"] || false
update_data = update_data =
new_user_data new_user_data