📧 [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
|
||||
) do
|
||||
ActivityPub.create(%{
|
||||
to: ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
to: to,
|
||||
actor: actor,
|
||||
object: comment,
|
||||
local: true
|
||||
|
Loading…
Reference in New Issue
Block a user