Align UR startup flow and Signal/XMPP client runtime wiring
This commit is contained in:
@@ -307,9 +307,6 @@ class XMPPComponent(ComponentXMPP):
|
||||
self.log.warning("XMPP disconnected, attempting to reconnect...")
|
||||
self.connect()
|
||||
|
||||
def session_start(self, *args):
|
||||
self.log.info(f"Session started: {args}")
|
||||
|
||||
async def request_upload_slot(self, recipient, filename, content_type, size):
|
||||
"""
|
||||
Requests an upload slot from XMPP for HTTP File Upload (XEP-0363).
|
||||
@@ -647,5 +644,8 @@ class XMPPClient(ClientBase):
|
||||
def start(self):
|
||||
self.log.info("XMPP client starting...")
|
||||
|
||||
# ensure slixmpp uses the same asyncio loop as the router
|
||||
self.client.loop = self.loop
|
||||
|
||||
self.client.connect()
|
||||
#self.client.process()
|
||||
Reference in New Issue
Block a user