diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2023-03-08 15:42:24 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2023-03-09 16:50:31 +0000 |
commit | 9cd8fecdc5cb2bb4064410ebc8e125551a617820 (patch) | |
tree | b669aeb1b2c15e1288fb7f466e5dccc719e01d9c /tests/rest/client/test_account.py | |
parent | Add a missing endpoint to the workers documentation. (#15223) (diff) | |
download | synapse-9cd8fecdc5cb2bb4064410ebc8e125551a617820.tar.xz |
Move Account Validity callbacks to a dedicated file
Spreading module callback registration across the codebase is both a bit messy and makes it unclear where a user should register callbacks if they want to define a new class of callbacks. Consolidating these under the synapse.module_api module cleans things up a bit, puts related code in the same place and makes it much more obvious how to extend it.
Diffstat (limited to 'tests/rest/client/test_account.py')
-rw-r--r-- | tests/rest/client/test_account.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/rest/client/test_account.py b/tests/rest/client/test_account.py |