diff options
Diffstat (limited to 'setup/config/config_userapi.go')
-rw-r--r-- | setup/config/config_userapi.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup/config/config_userapi.go b/setup/config/config_userapi.go index 97a6d738..f8ad41d9 100644 --- a/setup/config/config_userapi.go +++ b/setup/config/config_userapi.go @@ -19,6 +19,10 @@ type UserAPI struct { // The Account database stores the login details and account information // for local users. It is accessed by the UserAPI. AccountDatabase DatabaseOptions `yaml:"account_database,omitempty"` + + // Users who register on this homeserver will automatically + // be joined to the rooms listed under this option. + AutoJoinRooms []string `yaml:"auto_join_rooms"` } const DefaultOpenIDTokenLifetimeMS = 3600000 // 60 minutes |