more instance patch work

This commit is contained in:
tsmethurst
2021-06-23 12:33:04 +02:00
parent 7974d5e2e6
commit 69000ed68e
5 changed files with 107 additions and 4 deletions

View File

@ -542,7 +542,7 @@ func (c *converter) InstanceToMasto(i *gtsmodel.Instance) (*model.Instance, erro
mi.URLS = &model.InstanceURLs{
StreamingAPI: fmt.Sprintf("wss://%s", c.config.Host),
}
}
}aaaaaaaaaaaaaaaaaaaaaaaaaaaa
// contact account is optional but let's try to get it
if i.ContactAccountID != "" {