forked from mirrors/akkoma
MastoAPI: fake out 'application' property.
This commit is contained in:
parent
6258c6b6b3
commit
a8701282d4
|
@ -52,7 +52,10 @@ def render("status.json", %{activity: %{data: %{"object" => object}} = activity}
|
|||
media_attachments: attachments,
|
||||
mentions: mentions,
|
||||
tags: [], # fix,
|
||||
application: nil,
|
||||
application: %{
|
||||
name: "Web",
|
||||
website: nil
|
||||
},
|
||||
language: nil
|
||||
}
|
||||
end
|
||||
|
|
|
@ -36,7 +36,10 @@ test "a note activity" do
|
|||
media_attachments: [],
|
||||
mentions: [],
|
||||
tags: [],
|
||||
application: nil,
|
||||
application: %{
|
||||
name: "Web",
|
||||
website: nil
|
||||
},
|
||||
language: nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue