diff options
author | 2025-02-04 17:52:54 +0100 | |
---|---|---|
committer | 2025-02-04 16:52:54 +0000 | |
commit | bfb81f5bacbbbf75cf71faa97295c7225993c129 (patch) | |
tree | be391324d423d597baf01e756869359c4154d9c2 /internal | |
parent | [feature] Change `instance-stats-randomize` to `instance-stats-mode` with mul... (diff) | |
download | gotosocial-bfb81f5bacbbbf75cf71faa97295c7225993c129.tar.xz |
[bugfix] wrong nodeinfo version (tobi is a boob) (#3735)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/processing/fedi/wellknown.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/fedi/wellknown.go b/internal/processing/fedi/wellknown.go index 42a8e38e4..93fd3b28f 100644 --- a/internal/processing/fedi/wellknown.go +++ b/internal/processing/fedi/wellknown.go @@ -131,7 +131,7 @@ func (p *Processor) NodeInfoGet(ctx context.Context, schemaVersion string) (*api Metadata: nodeInfoMetadata, } - if schemaVersion == "2.0" { + if schemaVersion == "2.1" { nodeInfo.Software.Repository = nodeInfoRepo nodeInfo.Software.Homepage = nodeInfoHomepage } |