mix format
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Tue, 14 Jun 2022 15:25:28 +0000 (16:25 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Tue, 14 Jun 2022 15:25:28 +0000 (16:25 +0100)
lib/pleroma/web/common_api/activity_draft.ex
lib/pleroma/web/mastodon_api/views/status_view.ex

index 08e704ed4b9b844ee61a27c5e03fd388967e778f..bd56b6e20bc86a7661d59c2bf6e7d22f51e9f29c 100644 (file)
@@ -214,6 +214,7 @@ defmodule Pleroma.Web.CommonAPI.ActivityDraft do
 
     emoji = Map.merge(emoji, summary_emoji)
     {:ok, note_data, _meta} = Builder.note(draft)
+
     object =
       note_data
       |> Map.put("emoji", emoji)
index b3d74254563b7db25981b2d4092912b4120074ca..c0f467592d4cb02aaf552bb699924c7906055c9a 100644 (file)
@@ -328,6 +328,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
         )
 
     {pinned?, pinned_at} = pin_data(object, user)
+
     %{
       id: to_string(activity.id),
       uri: object.data["id"],