mirror of
https://github.com/element-hq/synapse.git
synced 2025-11-17 00:01:49 -05: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.