From 47c7e259c4f9f57092a873830b668296f7bee450 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 8 Jun 2018 02:18:47 +0000 Subject: [PATCH] activitypub transmogrifier: fix locked account state from being clobbered --- lib/pleroma/web/activity_pub/transmogrifier.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 4e07dffe0..75ba36729 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -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 -- 2.45.2