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

@@ -17,14 +17,18 @@ class UnifiedRouter(object):
self.xmpp = XMPPClient(self, loop, "xmpp")
self.signal = SignalClient(self, loop, "signal")
def start(self):
def _start(self):
print("UR _start")
self.xmpp.start()
self.signal.start()
def run(self):
try:
self.xmpp.client.process()
#self.xmpp.client.client.process()
# self.xmpp.start()
print("IN RUN BEFORE START")
self._start()
self.loop.run_forever()
except (KeyboardInterrupt, SystemExit):
self.log.info("Process terminating")