mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
MastoAPI: fake out 'application' property.
This commit is contained in:
parent
6258c6b6b3
commit
a8701282d4
2 changed files with 8 additions and 2 deletions
|
@ -52,7 +52,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
||||||
media_attachments: attachments,
|
media_attachments: attachments,
|
||||||
mentions: mentions,
|
mentions: mentions,
|
||||||
tags: [], # fix,
|
tags: [], # fix,
|
||||||
application: nil,
|
application: %{
|
||||||
|
name: "Web",
|
||||||
|
website: nil
|
||||||
|
},
|
||||||
language: nil
|
language: nil
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -36,7 +36,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
|
||||||
media_attachments: [],
|
media_attachments: [],
|
||||||
mentions: [],
|
mentions: [],
|
||||||
tags: [],
|
tags: [],
|
||||||
application: nil,
|
application: %{
|
||||||
|
name: "Web",
|
||||||
|
website: nil
|
||||||
|
},
|
||||||
language: nil
|
language: nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue