Fix transmogrifier test.
authorlain <lain@soykaf.club>
Fri, 30 Nov 2018 16:31:05 +0000 (17:31 +0100)
committerlain <lain@soykaf.club>
Fri, 30 Nov 2018 16:31:05 +0000 (17:31 +0100)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 2d11c40c5396c80419b3410332f4b0a7a0bc0755..17b0636094d8503490a027e1a4c8d9dc92c1c334 100644 (file)
@@ -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)