Strip html from emoji stuff.
[akkoma] / lib / pleroma / web / mastodon_api / mastodon_api_controller.ex
index 0d84308e74f7a229605fbc3bce49056f94bd9d08..c039412547610962114eb7e94357b7d45236fa8e 100644 (file)
@@ -624,6 +624,11 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
     json(conn, [])
   end
 
+  def empty_object(conn, _) do
+    Logger.debug("Unimplemented, returning an empty object")
+    json(conn, %{})
+  end
+
   def render_notification(user, %{id: id, activity: activity, inserted_at: created_at} = _params) do
     actor = User.get_cached_by_ap_id(activity.data["actor"])
     created_at = NaiveDateTime.to_iso8601(created_at)