Make remote comments non local

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-07 18:48:00 +01:00
parent 4afd657338
commit 023d802746

View file

@ -137,7 +137,9 @@ defmodule Mobilizon.Service.ActivityPub.Utils do
"text" => object_data["content"], "text" => object_data["content"],
"url" => object_data["id"], "url" => object_data["id"],
"actor_id" => actor_id, "actor_id" => actor_id,
"in_reply_to_comment_id" => object_data["inReplyTo"] "in_reply_to_comment_id" => object_data["inReplyTo"],
# probably
"local" => false
} }
require Logger require Logger