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: