Transmogrifier: Strip internal emoji reaction fields.
This commit is contained in:
parent
05e9776517
commit
8d4b661ecb
2 changed files with 17 additions and 1 deletions
|
|
@ -995,9 +995,11 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
|> Map.put("attachment", attachments)
|
||||
end
|
||||
|
||||
defp strip_internal_fields(object) do
|
||||
def strip_internal_fields(object) do
|
||||
object
|
||||
|> Map.drop([
|
||||
"reactions",
|
||||
"reaction_count",
|
||||
"likes",
|
||||
"like_count",
|
||||
"announcements",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue