This commit is contained in:
Tulir Asokan 2019-03-06 22:27:23 +02:00
parent f303bd66ab
commit c6287e6626

View File

@ -61,7 +61,7 @@ clients = init_client_class(db_session, loop)
management_api = init_mgmt_api(config, loop)
server = MaubotServer(config, loop)
server.app.add_subapp(config["server.base_path"], management_api)
plugins = init_plugin_instance_class(db_session, config, server.app, loop)
plugins = init_plugin_instance_class(db_session, config, server, loop)
for plugin in plugins:
plugin.load()