commit: 5dde6e4a003dfd4fbd9b6e8102b74a376b0d4c36
parent: f6b06d2ac817312b36b7fe78704846541a2e9a5f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 22 Aug 2018 01:46:26 +0200
[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
@@ -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