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

@@ -34,7 +34,6 @@ func New() (*Config, error) {
Port: env.String("port", defaultConfig.Port),
NoEncryption: env.Bool("noencryption"),
NoOwner: env.Bool("noowner"),
Federation: env.Bool("federation"),
MaxSize: env.Int("maxsize", defaultConfig.MaxSize),
StatusMsg: env.String("statusmsg", defaultConfig.StatusMsg),
Users: userPatterns,

View File

@@ -20,8 +20,6 @@ type Config struct {
NoEncryption bool
// NoOwner allows room settings change by any participant
NoOwner bool
// Federation allows usage of Postmoogle by users from other homeservers
Federation bool
// Prefix for commands
Prefix string
// MaxSize of an email (including attachments)