This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
MastoAPI: fake out 'application' property.
tags/v0.9.9
Roger Braun
6 years ago
parent
6258c6b6b3
commit
a8701282d4
2 changed files
with
8 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
lib/pleroma/web/mastodon_api/views/status_view.ex
+4
-1
test/web/mastodon_api/status_view_test.exs
+ 4
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex
View File
@@ -52,7 +52,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
media_attachments: attachments,
mentions: mentions,
tags: [], # fix,
application: nil,
application: %{
name: "Web",
website: nil
},
language: nil
}
end
+ 4
- 1
test/web/mastodon_api/status_view_test.exs
View File
@@ -36,7 +36,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
media_attachments: [],
mentions: [],
tags: [],
application: nil,
application: %{
name: "Web",
website: nil
},
language: nil
}
Write
Preview
Loading…
Cancel
Save