:skipped
{:ok, %{body: body}} ->
- IO.inspect(body)
:skipped
end
end
:skipped
{:ok, %{body: body}} ->
- IO.inspect(body)
:skipped
end
end
:skipped
{:ok, %{body: body}} ->
- IO.inspect(body)
:skipped
end
end
def validate(%{"type" => type} = object, meta)
when type in ~w[Accept Reject Follow Update Like EmojiReact Announce
ChatMessage Answer] do
- IO.inspect(object)
validator =
case type do
"Accept" -> AcceptRejectValidator
else
{:error, e} ->
Logger.error("Could not fetch replies for #{first}")
- IO.inspect(e)
Map.put(data, "replies", [])
end
end
} = data,
options
) do
- IO.inspect(data)
data
|> Map.put("type", "EmojiReact")
|> Map.put("content", reaction)
%Activity{data: %{"content" => emoji, "actor" => actor}} = activity,
object
) do
- IO.inspect(emoji)
reactions = get_cached_emoji_reactions(object)
emoji = stripped_emoji_name(emoji)
new_reactions =