forked from mirrors/akkoma
twitter api: activity representer: remove peertube hack
This commit is contained in:
parent
9f48485f64
commit
79b51a97fe
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue