summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltofrontend.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-06-24 14:26:08 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-24 14:26:08 +0200
commitc1e107266fc47e59657825f1178f5e79c78ab0e6 (patch)
tree1daa297f6e61bead4ed3d728fedc2a39604d377f /internal/typeutils/internaltofrontend.go
parentTimeline bugfix (#60) (diff)
downloadgotosocial-c1e107266fc47e59657825f1178f5e79c78ab0e6.tar.xz
nodeinfo compliance (#61)
Diffstat (limited to 'internal/typeutils/internaltofrontend.go')
-rw-r--r--internal/typeutils/internaltofrontend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go
index a5984e068..c2f00c77d 100644
--- a/internal/typeutils/internaltofrontend.go
+++ b/internal/typeutils/internaltofrontend.go
@@ -543,6 +543,7 @@ func (c *converter) InstanceToMasto(i *gtsmodel.Instance) (*model.Instance, erro
mi.URLS = &model.InstanceURLs{
StreamingAPI: fmt.Sprintf("wss://%s", c.config.Host),
}
+ mi.Version = c.config.SoftwareVersion
}
// get the instance account if it exists and just skip if it doesn't