Get avatar and banner from AP users.
[akkoma] / lib / pleroma / web / activity_pub / views / object_view.ex
index 403f8cb17236adea0b45090610a57e5986096398..c39f994546b2a83fd95244f1fefb99252a52726f 100644 (file)
@@ -21,6 +21,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectView do
     }
 
     additional = Map.take(object.data, ["id", "to", "cc", "actor", "content", "summary", "type"])
+    |> Map.put("attributedTo", object.data["actor"])
     Map.merge(base, additional)
   end
 end