Merge branch 'master' of github.com:loki-project/loki-messenger-ios into messaging-refactor

pull/8/head
Niels Andriesse 6 years ago
commit 1c4c47ab33

@ -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…
Cancel
Save