Add tag timelines.
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index a172875df320f9087208ba9ac15004c273bde98b..e561b32fe929f337ab33f071cf79ff8701c2fd34 100644 (file)
@@ -52,7 +52,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       media_attachments: attachments,
       mentions: mentions,
       tags: [], # fix,
-      application: nil,
+      application: %{
+        name: "Web",
+        website: nil
+      },
       language: nil
     }
   end
@@ -73,6 +76,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       url: href,
       remote_url: href,
       preview_url: href,
+      text_url: href,
       type: type
     }
   end