nodeinfo compliance (#61)

This commit is contained in:
Tobi Smethurst
2021-06-24 14:26:08 +02:00
committed by GitHub
parent 16e486ad96
commit c1e107266f
14 changed files with 285 additions and 46 deletions

View File

@ -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