Merge remote-tracking branch 'pleroma/develop' into cycles-html
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index 8fdf30883777f2271b8680f2fec1867e53aafa81..45495ce8e14f9de6e846bb232fe55557b6f18eab 100644 (file)
@@ -260,7 +260,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
 
     content_html =
       content
-      |> HTML.get_cached_scrubbed_html_for_activity(
+      |> Activity.HTML.get_cached_scrubbed_html_for_activity(
         User.html_filter_policy(opts[:for]),
         activity,
         "mastoapi:content"
@@ -268,7 +268,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
 
     content_plaintext =
       content
-      |> HTML.get_cached_stripped_html_for_activity(
+      |> Activity.HTML.get_cached_stripped_html_for_activity(
         activity,
         "mastoapi:content"
       )