From 5a140bef35a5b328ff0374def072dece3ba81cce Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 21 Dec 2018 09:03:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A7=20[AP]=20Set=20correct=20"to"=20wh?= =?UTF-8?q?en=20creating=20a=20comment=20instead=20of=20always=20targettin?= =?UTF-8?q?g=20public?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Citharel --- lib/mobilizon_web/api/comments.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon_web/api/comments.ex b/lib/mobilizon_web/api/comments.ex index 0870d30d4..4446b6811 100644 --- a/lib/mobilizon_web/api/comments.ex +++ b/lib/mobilizon_web/api/comments.ex @@ -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