removed federation, closes #12

This commit is contained in:
Aine
2022-08-29 19:58:54 +03:00
parent e52de55e1a
commit 505a1b42d7
6 changed files with 4 additions and 14 deletions

View File

@@ -87,7 +87,7 @@ func initBot(cfg *config.Config) {
// nolint // Fatal = panic, not os.Exit()
log.Fatal("cannot initialize matrix bot: %v", err)
}
mxb = bot.New(lp, mxlog, cfg.Prefix, cfg.Domain, cfg.NoOwner, cfg.Federation, cfg.Users, cfg.Admins)
mxb = bot.New(lp, mxlog, cfg.Prefix, cfg.Domain, cfg.NoOwner, cfg.Users, cfg.Admins)
log.Debug("bot has been created")
}