|
|
|
@ -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()
|
|
|
|
|