📧 [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:
parent
0f31535cf3
commit
5a140bef35
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user