mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:56:07 -04:00
untested stab at autocreating autojoin rooms
This commit is contained in:
parent
36c62a67c4
commit
07340cdaca
2 changed files with 22 additions and 0 deletions
|
@ -44,6 +44,7 @@ class RegistrationConfig(Config):
|
|||
)
|
||||
|
||||
self.auto_join_rooms = config.get("auto_join_rooms", [])
|
||||
self.autocreate_auto_join_rooms = config.get("autocreate_auto_join_rooms", true)
|
||||
|
||||
def default_config(self, **kwargs):
|
||||
registration_shared_secret = random_string_with_symbols(50)
|
||||
|
@ -98,6 +99,9 @@ class RegistrationConfig(Config):
|
|||
# to these rooms
|
||||
#auto_join_rooms:
|
||||
# - "#example:example.com"
|
||||
|
||||
# Have first user on server autocreate autojoin rooms
|
||||
autocreate_auto_join_rooms: true
|
||||
""" % locals()
|
||||
|
||||
def add_arguments(self, parser):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue