Ensure we capture the application details into the object

This commit is contained in:
Mark Felder 2021-02-09 18:07:15 -06:00
commit 3dc7e89c54
2 changed files with 17 additions and 4 deletions

View file

@ -190,6 +190,7 @@ defmodule Pleroma.Web.CommonAPI.ActivityDraft do
Utils.make_note_data(draft)
|> Map.put("emoji", emoji)
|> Map.put("source", draft.status)
|> Map.put("application", draft.params[:application])
%__MODULE__{draft | object: object}
end