Improved version string

This commit is contained in:
href 2018-11-20 17:55:03 +01:00
commit bc5cf2c192
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
6 changed files with 58 additions and 13 deletions

View file

@ -86,8 +86,8 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
response = %{
version: "2.0",
software: %{
name: "pleroma",
version: Keyword.get(instance, :version)
name: Pleroma.Application.name(),
version: Pleroma.Application.version()
},
protocols: ["ostatus", "activitypub"],
services: %{