mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Minor fix.
This commit is contained in:
parent
8a1ef268c8
commit
58ead70eb3
1 changed files with 3 additions and 2 deletions
|
@ -86,8 +86,9 @@ import PromiseKit
|
|||
// If it was a ping then don't send to the storage server
|
||||
if (message.isPing) {
|
||||
Logger.warn("[Loki] Failed to ping \(destination) - Marking contact as offline.")
|
||||
error.isRetryable = false
|
||||
throw error
|
||||
let nserror = error as NSError
|
||||
nserror.isRetryable = false
|
||||
throw nserror
|
||||
}
|
||||
|
||||
return sendThroughStorageServer()
|
||||
|
|
Loading…
Reference in a new issue