summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-09-14 08:38:48 +0200
committerRoger Braun <roger@rogerbraun.net>2017-09-14 08:38:48 +0200
commit6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc (patch)
tree5c8da7a4624ec60b4b08e0e4995f64ac3125e51f /lib
parent7f3ce5c1a0ea9e7ea960b06ca5f40f4cee4b9715 (diff)
downloadpleroma-6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc.tar.gz
pleroma-6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc.zip
MastoAPI: Also return text_url in attachments.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/views/status_view.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
index a172875df..7c8af994b 100644
--- a/lib/pleroma/web/mastodon_api/views/status_view.ex
+++ b/lib/pleroma/web/mastodon_api/views/status_view.ex
@@ -73,6 +73,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
url: href,
remote_url: href,
preview_url: href,
+ text_url: href,
type: type
}
end