diff --git a/lib/pleroma/web/activity_pub/utils.ex b/lib/pleroma/web/activity_pub/utils.ex index 66e8950bc..be15fe6c5 100644 --- a/lib/pleroma/web/activity_pub/utils.ex +++ b/lib/pleroma/web/activity_pub/utils.ex @@ -19,7 +19,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do require Logger - @supported_object_types ["Article", "Note", "Video", "Page"] + @supported_object_types ["Article", "Note", "Video", "Page", "Question"] # Some implementations send the actor URI as the actor field, others send the entire actor object, # so figure out what the actor's URI is based on what we have. @@ -688,6 +688,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do "type" => "Question", "attributedTo" => params.object_id, "endTime" => params.expires, + "to" => params.to, "replies" => %{ "type" => "Collection", "totalItems" => 0,