From b05b59b22520d44678af1ba15fcde816d33c97b5 Mon Sep 17 00:00:00 2001 From: Sterling Long Date: Tue, 25 Jul 2023 09:51:13 -0600 Subject: [PATCH] Added 1002 and 1005 to auto-reconnect of relay --- lib/apis/core/relay_client/relay_client.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/apis/core/relay_client/relay_client.dart b/lib/apis/core/relay_client/relay_client.dart index 60721880..ea5a5b6e 100644 --- a/lib/apis/core/relay_client/relay_client.dart +++ b/lib/apis/core/relay_client/relay_client.dart @@ -298,7 +298,11 @@ class RelayClient implements IRelayClient { // If the code requires reconnect, do so if (code != null) { - if (code == 1001 || code == 4008 || code == 4010) { + if (code == 1001 || + code == 4008 || + code == 4010 || + code == 1002 || + code == 1005) { await connect(); } else { await disconnect();