mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Disable web sockets.
This commit is contained in:
parent
18d1225faa
commit
cb53acf138
1 changed files with 3 additions and 0 deletions
|
@ -909,6 +909,9 @@ NSString *const kNSNotification_OWSWebSocketStateDidChange = @"kNSNotification_O
|
|||
- (BOOL)shouldSocketBeOpen
|
||||
{
|
||||
OWSAssertIsOnMainThread();
|
||||
|
||||
// Loki: Since we don't use websockets, disable them.
|
||||
return NO;
|
||||
|
||||
// Don't open socket in app extensions.
|
||||
if (!CurrentAppContext().isMainApp) {
|
||||
|
|
Loading…
Reference in a new issue