Disable web sockets.

pull/10/head
Mikunj 6 years ago
parent 18d1225faa
commit cb53acf138

@ -910,6 +910,9 @@ NSString *const kNSNotification_OWSWebSocketStateDidChange = @"kNSNotification_O
{
OWSAssertIsOnMainThread();
// Loki: Since we don't use websockets, disable them.
return NO;
// Don't open socket in app extensions.
if (!CurrentAppContext().isMainApp) {
return NO;

Loading…
Cancel
Save