forked from mirrors/akkoma
mix format
This commit is contained in:
parent
829ae13572
commit
0627da0027
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue