Add ActivityPub components, routes, handlers

This commit is contained in:
Matt Baer
2018-11-08 01:28:08 -05:00
parent 5e53a1788d
commit 6dbf0c8764
31 changed files with 739 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ func nodeInfoConfig(cfg *config.Config) *nodeinfo.Config {
}
func (r nodeInfoResolver) IsOpenRegistration() (bool, error) {
return !r.cfg.App.Private, nil
return r.cfg.App.OpenRegistration, nil
}
func (r nodeInfoResolver) Usage() (nodeinfo.Usage, error) {