projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdcee8
)
update nodeinfo version when requesting 2.1
author
Luna
<git@l4.pm>
Fri, 1 Feb 2019 19:03:23 +0000
(16:03 -0300)
committer
Luna
<git@l4.pm>
Fri, 1 Feb 2019 19:03:23 +0000
(16:03 -0300)
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
index a1a395c8f23ba066c9c850dc7e883b3d1fb50771..21694a5ee4983b0dc383c19705d8302c1f676d45 100644
(file)
--- a/
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
+++ b/
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
@@
-168,7
+168,10
@@
defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|> Map.get(:software)
|> Map.put(:repository, Pleroma.Application.repository())
- response = raw_response |> Map.put(:software, updated_software)
+ response =
+ raw_response
+ |> Map.put(:software, updated_software)
+ |> Map.put(:version, "2.1")
conn
|> put_resp_header(