Merge pull request #98 from loki-project/robustness

Make Text Messaging Independent From the File Server
pull/99/head
gmbnt 5 years ago committed by GitHub
commit 1a42333ceb

@ -1027,7 +1027,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
}
})
.catchOn(OWSDispatch.sendingQueue, ^(NSError *error) {
[self messageSendDidFail:messageSend deviceMessages:@{} statusCode:0 error:error responseData:nil];
[self sendMessage:messageSend]; // Proceed even if updating the linked devices map failed so that message sending is independent of whether the file server is up
}) retainUntilComplete];
}
}

Loading…
Cancel
Save