Insert text representation of hashtags into object["hashtags"]
[akkoma] / lib / pleroma / constants.ex
index 13eeaa96b4762fbb91ced797cd93c7ad2dcf9255..8f265715c3c2e6f0778aa4941c750ba78c304204 100644 (file)
@@ -18,7 +18,8 @@ defmodule Pleroma.Constants do
       "emoji",
       "context_id",
       "deleted_activity_id",
-      "pleroma_internal"
+      "pleroma_internal",
+      "hashtags"
     ]
   )
 
@@ -26,4 +27,6 @@ defmodule Pleroma.Constants do
     do:
       ~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc embed.js embed.css)
   )
+
+  def as_local_public, do: Pleroma.Web.base_url() <> "/#Public"
 end