projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't relay non-public messages.
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
views
/
object_view.ex
diff --git
a/lib/pleroma/web/activity_pub/views/object_view.ex
b/lib/pleroma/web/activity_pub/views/object_view.ex
index 403f8cb17236adea0b45090610a57e5986096398..c39f994546b2a83fd95244f1fefb99252a52726f 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/object_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/object_view.ex
@@
-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