mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 16:24:23 +00:00
activitypub transmogrifier: fix locked account state from being clobbered
This commit is contained in:
parent
a003bdc30a
commit
47c7e259c4
|
@ -252,7 +252,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
||||||
{: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]["manuallyApprovesFollowers"] || false
|
locked = new_user_data[:info]["locked"]
|
||||||
|
|
||||||
update_data =
|
update_data =
|
||||||
new_user_data
|
new_user_data
|
||||||
|
|
Loading…
Reference in a new issue