Pleroma.Object/1: take %Object{} as argument instead
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index b39f05d13c736b94bf2860191d75222cd9e2c622..3ba453d1fe05ecffce614300b565228b4ded1c3e 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(Object.hashtags(object.data)),
+      tags: build_tags(Object.hashtags(object)),
       application: %{
         name: "Web",
         website: nil