This commit is contained in:
Brendan Abolivier 2020-08-10 11:13:21 +01:00
parent cee6c6012e
commit 1a3aabcf3f
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -541,8 +541,8 @@ class ServerConfig(Config):
raise ConfigError("'users_new_default_push_rules' must be a list")
# Turn the list into a set to improve lookup speed.
self.users_new_default_push_rules = (
set(self.users_new_default_push_rules)
self.users_new_default_push_rules = set(
self.users_new_default_push_rules
) # type: set
def has_tls_listener(self) -> bool: