Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-08 17:19:41 +01:00
parent af8b3a7173
commit acf110a761

View File

@ -146,7 +146,7 @@ defmodule Mobilizon.Service.ActivityPub.Utils do
}
# We fetch the parent object
unless !Map.has_key?("inReplyTo") || object_data["inReplyTo"] == nil ||
unless !Map.has_key?(object_data, "inReplyTo") || object_data["inReplyTo"] == nil ||
object_data["inReplyTo"] == "" do
data =
case ActivityPub.fetch_object_from_url(object_data["inReplyTo"]) do