📧 [AP] Set correct "to" when creating a comment instead of always
targetting public Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -41,7 +41,7 @@ defmodule MobilizonWeb.API.Comments do
|
|||||||
cc
|
cc
|
||||||
) do
|
) do
|
||||||
ActivityPub.create(%{
|
ActivityPub.create(%{
|
||||||
to: ["https://www.w3.org/ns/activitystreams#Public"],
|
to: to,
|
||||||
actor: actor,
|
actor: actor,
|
||||||
object: comment,
|
object: comment,
|
||||||
local: true
|
local: true
|
||||||
|
|||||||
Reference in New Issue
Block a user