mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-09 03:11:55 +02:00
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.
1 line
60 B
Text
1 line
60 B
Text
Combine `SpamCheckerApi` with the more generic `ModuleApi`.
|