From be382a60311b4cd2ff2024f90139877c942b948e Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Mon, 3 May 2021 08:35:15 +1000 Subject: [PATCH] Add fix for temporary path building issue --- SessionSnodeKit/OnionRequestAPI.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SessionSnodeKit/OnionRequestAPI.swift b/SessionSnodeKit/OnionRequestAPI.swift index 8c09d6ef4..bace1a8e4 100644 --- a/SessionSnodeKit/OnionRequestAPI.swift +++ b/SessionSnodeKit/OnionRequestAPI.swift @@ -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 {