Insert text representation of hashtags into object["hashtags"]
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index 2301e21cfaf2d56b760fe35fa733dd2be502eeba..6fc6272c28922b63c1cb4fc17b668aad62ef3e05 100644 (file)
@@ -347,7 +347,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       media_attachments: attachments,
       poll: render(PollView, "show.json", object: object, for: opts[:for]),
       mentions: mentions,
-      tags: build_tags(tags),
+      tags: build_tags(object.data["hashtags"] || tags),
       application: %{
         name: "Web",
         website: nil