Clean up some things
This commit is contained in:
@@ -83,9 +83,7 @@ with appserv.run(config["appservice.hostname"], config["appservice.port"]) as st
|
||||
init_db(db_session)
|
||||
init_portal(context)
|
||||
init_puppet(context)
|
||||
startup_actions = []
|
||||
startup_actions += init_user(context)
|
||||
startup_actions += [start]
|
||||
startup_actions = init_user(context) + [start]
|
||||
try:
|
||||
loop.run_until_complete(asyncio.gather(*startup_actions, loop=loop))
|
||||
loop.run_forever()
|
||||
|
||||
@@ -52,6 +52,7 @@ class User:
|
||||
|
||||
self.command_status = None
|
||||
self.connected = False
|
||||
self.client = None
|
||||
self._init_client()
|
||||
|
||||
self.is_admin = self.mxid in config.get("bridge.admins", [])
|
||||
|
||||
Reference in New Issue
Block a user