Minor fix.

pull/20/head
Mikunj 6 years ago
parent 8a1ef268c8
commit 58ead70eb3

@ -86,8 +86,9 @@ import PromiseKit
// If it was a ping then don't send to the storage server // If it was a ping then don't send to the storage server
if (message.isPing) { if (message.isPing) {
Logger.warn("[Loki] Failed to ping \(destination) - Marking contact as offline.") Logger.warn("[Loki] Failed to ping \(destination) - Marking contact as offline.")
error.isRetryable = false let nserror = error as NSError
throw error nserror.isRetryable = false
throw nserror
} }
return sendThroughStorageServer() return sendThroughStorageServer()

Loading…
Cancel
Save