diff --git a/lib/federation/activity_stream/converter/actor.ex b/lib/federation/activity_stream/converter/actor.ex index 863bfbe5c..37a279358 100644 --- a/lib/federation/activity_stream/converter/actor.ex +++ b/lib/federation/activity_stream/converter/actor.ex @@ -160,7 +160,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Actor do @spec maybe_add_avatar_picture(map(), ActorModel.t()) :: map() defp maybe_add_avatar_picture(actor_data, %ActorModel{avatar: %File{} = avatar}) do - Map.put(actor_data, "image", %{ + Map.put(actor_data, "icon", %{ "type" => "Image", "mediaType" => avatar.content_type, "url" => avatar.url