mirror of
https://github.com/element-hq/synapse
synced 2024-07-19 08:59:13 +00:00
4f0637346a
Lots of different module apis is not easy to maintain. Rather than adding yet another ModuleApi(hs, hs.get_auth_handler()) incantation, first add an hs.get_module_api() method and use it where possible.
2 lines
60 B
Plaintext
2 lines
60 B
Plaintext
Combine `SpamCheckerApi` with the more generic `ModuleApi`.
|