mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 19:44:06 +00:00
Use direct references for configuration variables (part 6). (#10916)
This commit is contained in:
1 parent
8cef1ab2ac
commit
94b620a5ed
54 files changed
+141
-132
No files matched your search
@@ -346,7 +346,7 @@ class TestResourceLimitsServerNoticesWithRealRooms(unittest.HomeserverTestCase):
|
||||
invites = []
|
||||
|
||||
# Register as many users as the MAU limit allows.
|
||||
for i in range(self.hs.config.max_mau_value):
|
||||
for i in range(self.hs.config.server.max_mau_value):
|
||||
localpart = "user%d" % i
|
||||
user_id = self.register_user(localpart, "password")
|
||||
tok = self.login(localpart, "password")
|
||||
|
||||
Reference in new issue
Block a user