Add fix for temporary path building issue

pull/400/head
Niels Andriesse 3 years ago
parent 3c68e1bd8c
commit be382a6031

@ -440,6 +440,9 @@ public enum OnionRequestAPI {
}
} else if let message = json?["result"] as? String, message == "Loki Server error" {
// Do nothing
} else if case .server(let host, _, _, _, _) = destination, host == "116.203.70.33" && statusCode == 0 {
// FIXME: Temporary thing to kick out nodes that can't talk to the V2 OGS yet
handleUnspecificError()
} else if statusCode == 0 { // Timeout
// Do nothing
} else {

Loading…
Cancel
Save