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
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ def handle_incoming(
{: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