From 8f39ed18bfd6a5781bf719271fad88c9f4ad66fe Mon Sep 17 00:00:00 2001 From: siepra Date: Tue, 30 Jan 2024 15:39:52 +0100 Subject: [PATCH] fix: calling init websocket connection --- packages/mobile/ios/Quiet/AppDelegate.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/mobile/ios/Quiet/AppDelegate.m b/packages/mobile/ios/Quiet/AppDelegate.m index 032ea7a268..0b2be26d4e 100644 --- a/packages/mobile/ios/Quiet/AppDelegate.m +++ b/packages/mobile/ios/Quiet/AppDelegate.m @@ -162,8 +162,9 @@ - (void) spinupBackend:(BOOL)init { // (5/6) Update data port information and broadcast it to frontend - - [self initWebsocketConnection]; + if (init) { + [self initWebsocketConnection]; + } // (6/6) Launch backend or reviwe services