From fe1d9dda73ffaad585c87701bcb9658af0389362 Mon Sep 17 00:00:00 2001 From: Wiktor Sieprawski Date: Wed, 31 Jan 2024 10:05:39 +0100 Subject: [PATCH] fix: calling init websocket connection (#2261) --- 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