Commit 79b51a97 authored by William Pitcock's avatar William Pitcock

twitter api: activity representer: remove peertube hack

parent 9f48485f
......@@ -171,14 +171,7 @@ def to_map(
HTML.filter_tags(content, User.html_filter_policy(opts[:for]))
|> Formatter.emojify(object["emoji"])
video =
if object["type"] == "Video" do
[object]
else
[]
end
attachments = (object["attachment"] || []) ++ video
attachments = object["attachment"] || []
reply_parent = Activity.get_in_reply_to_activity(activity)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment