mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Retry group message deletion if needed
This commit is contained in:
parent
462c61d38f
commit
8713b028b5
|
@ -218,7 +218,7 @@ public final class LokiGroupChatAPI : NSObject {
|
|||
request.allHTTPHeaderFields = [ "Content-Type" : "application/json", "Authorization" : "Bearer \(token)" ]
|
||||
return TSNetworkManager.shared().makePromise(request: request).done { result -> Void in
|
||||
print("[Loki] Deleted message with ID: \(messageID) on server: \(server).")
|
||||
}
|
||||
}.retryingIfNeeded(maxRetryCount: maxRetryCount)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue