forked from AkkomaGang/akkoma
[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos
This commit is contained in:
parent
f6b06d2ac8
commit
5dde6e4a00
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def render_content(%{"type" => "Video"} = object) do
|
||||||
|
|
||||||
content =
|
content =
|
||||||
if !!name and name != "" do
|
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
|
else
|
||||||
object["content"]
|
object["content"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue