From 34601065c3259cb7a27d04107b02e9f5522e046d Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Thu, 20 Jul 2023 17:34:05 +0100 Subject: [PATCH] Mix format --- lib/pleroma/web/activity_pub/transmogrifier.ex | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 742dcb385..5fb9b5d8d 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -919,11 +919,12 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do end def prepare_attachments(object) do - attachments = case Map.get(object, "attachment", []) do - [_ | _] = list -> list - _ -> [] - end - + attachments = + case Map.get(object, "attachment", []) do + [_ | _] = list -> list + _ -> [] + end + attachments = attachments |> Enum.map(fn data ->