remove NOOWNER, closes #14

This commit is contained in:
Aine
2022-08-29 20:21:37 +03:00
parent ba73b5a97c
commit e0bd71717c
6 changed files with 2 additions and 12 deletions

View File

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

View File

@@ -18,8 +18,6 @@ type Config struct {
LogLevel string
// NoEncryption disabled encryption support
NoEncryption bool
// NoOwner allows room settings change by any participant
NoOwner bool
// Prefix for commands
Prefix string
// MaxSize of an email (including attachments)