summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-02-04 17:52:54 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-04 16:52:54 +0000
commitbfb81f5bacbbbf75cf71faa97295c7225993c129 (patch)
treebe391324d423d597baf01e756869359c4154d9c2
parent[feature] Change `instance-stats-randomize` to `instance-stats-mode` with mul... (diff)
downloadgotosocial-bfb81f5bacbbbf75cf71faa97295c7225993c129.tar.xz
[bugfix] wrong nodeinfo version (tobi is a boob) (#3735)
-rw-r--r--internal/processing/fedi/wellknown.go2
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
}