Add support for automatic key sharing

This commit is contained in:
Tulir Asokan
2020-08-05 14:58:46 +03:00
parent 05da509c7c
commit aefe63cba5
7 changed files with 60 additions and 2 deletions

View File

@ -77,6 +77,12 @@ type BridgeConfig struct {
Encryption struct {
Allow bool `yaml:"allow"`
Default bool `yaml:"default"`
KeySharing struct {
Allow bool `yaml:"allow"`
RequireCrossSigning bool `yaml:"require_cross_signing"`
RequireVerification bool `yaml:"require_verification"`
} `yaml:"key_sharing"`
} `yaml:"encryption"`
Permissions PermissionConfig `yaml:"permissions"`