From: William Pitcock Date: Fri, 8 Jun 2018 02:18:47 +0000 (+0000) Subject: activitypub transmogrifier: fix locked account state from being clobbered X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=47c7e259c4f9f57092a873830b668296f7bee450;p=akkoma activitypub transmogrifier: fix locked account state from being clobbered --- 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