aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-08-22 01:46:26 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-08-22 01:46:26 +0200
commit5dde6e4a003dfd4fbd9b6e8102b74a376b0d4c36 (patch)
treed2ff917a0846bcfc270f4250fa6d28c7e9768dda /lib
parentf6b06d2ac817312b36b7fe78704846541a2e9a5f (diff)
downloadpleroma-5dde6e4a003dfd4fbd9b6e8102b74a376b0d4c36.tar.gz
[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/views/status_view.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
index 3eca43a92..6962aa54f 100644
--- 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