[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos

parent f6b06d2a
......@@ -216,7 +216,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
content =
if !!name and name != "" do
"<p><a href=\"#{object["url"]}\">#{name}</a></p>#{object["content"]}"
"<p><a href=\"#{object["id"]}\">#{name}</a></p>#{object["content"]}"
else
object["content"]
end
......
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