Create Object.hashtags/1 wrapper
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index 2301e21cfaf2d56b760fe35fa733dd2be502eeba..b39f05d13c736b94bf2860191d75222cd9e2c622 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.hashtags(object.data)),
       application: %{
         name: "Web",
         website: nil