Skip to content
Snippets Groups Projects
Commit 79b51a97 authored by kaniini's avatar kaniini
Browse files

twitter api: activity representer: remove peertube hack

parent 9f48485f
Branches
Tags
No related merge requests found
......@@ -171,14 +171,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment