From: William Pitcock Date: Sat, 26 May 2018 15:03:32 +0000 (+0000) Subject: activitypub transmogrifier: learn locked state in Update messages X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6041380774605dd17d7effd3d127dd756c087413;p=akkoma activitypub transmogrifier: learn locked state in Update messages --- diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 7b0d124b2..ab744f6a2 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -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