mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 22:10:39 -05:00
Remove support for invite_3pid_guest. (#5625)
This has never been documented, and I'm not sure it's ever been used outside sytest. It's quite a lot of poorly-maintained code, so I'd like to get rid of it. For now I haven't removed the database table; I suggest we leave that for a future clearout.
This commit is contained in:
parent
a6a776f3d8
commit
80cc82a445
7 changed files with 3 additions and 196 deletions
|
|
@ -71,9 +71,8 @@ class RegistrationConfig(Config):
|
|||
self.default_identity_server = config.get("default_identity_server")
|
||||
self.allow_guest_access = config.get("allow_guest_access", False)
|
||||
|
||||
self.invite_3pid_guest = self.allow_guest_access and config.get(
|
||||
"invite_3pid_guest", False
|
||||
)
|
||||
if config.get("invite_3pid_guest", False):
|
||||
raise ConfigError("invite_3pid_guest is no longer supported")
|
||||
|
||||
self.auto_join_rooms = config.get("auto_join_rooms", [])
|
||||
for room_alias in self.auto_join_rooms:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue