Align UR startup flow and Signal/XMPP client runtime wiring

This commit is contained in:
2026-02-14 22:23:56 +00:00
parent d22eb8c811
commit 7732ff9b17
4 changed files with 18 additions and 11 deletions

View File

@@ -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()