Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix(client): stop retrying on restricted mobile access errors (#14797)

21pages9f817714fe76
diff --git a/src/client.rs b/src/client.rs
index 527f65a12..72652776a 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -3870,6 +3870,7 @@ pub fn check_if_retry(msgtype: &str, title: &str, text: &str, retry_for_relay: b
&& !text.to_lowercase().contains("resolve")
&& !text.to_lowercase().contains("mismatch")
&& !text.to_lowercase().contains("manually")
+ && !text.to_lowercase().contains("restricted")
&& !text.to_lowercase().contains("not allowed")))
}