projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d088ac6
)
Fix transmogrifier test.
author
lain
<lain@soykaf.club>
Fri, 30 Nov 2018 16:31:05 +0000
(17:31 +0100)
committer
lain
<lain@soykaf.club>
Fri, 30 Nov 2018 16:31:05 +0000
(17:31 +0100)
lib/pleroma/web/activity_pub/transmogrifier.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/transmogrifier.ex
b/lib/pleroma/web/activity_pub/transmogrifier.ex
index 2d11c40c5396c80419b3410332f4b0a7a0bc0755..17b0636094d8503490a027e1a4c8d9dc92c1c334 100644
(file)
--- a/
lib/pleroma/web/activity_pub/transmogrifier.ex
+++ b/
lib/pleroma/web/activity_pub/transmogrifier.ex
@@
-447,7
+447,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier do
update_data =
new_user_data
|> Map.take([:name, :bio, :avatar])
- |> Map.put(:info,
Map.merge(actor.info, %{"banner" => banner, "locked" => locked})
)
+ |> Map.put(:info,
%{"banner" => banner, "locked" => locked}
)
actor
|> User.upgrade_changeset(update_data)