From 8943bd3cecd25897cd68188975b79b7d4d765e36 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 8 Jan 2023 14:47:15 -0600 Subject: don't upload on reconnect --- src/slskd/Relay/RelayClient.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index 9f11bfe9..eb3e5363 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -518,10 +518,6 @@ namespace slskd.Relay // there's nothing that needs to be done upon reconnection, only log. Log.Warning("Relay controller connection reconnected"); return Task.CompletedTask; - // todo: does this need to log in again? does it retain the same connection id? - LoggedIn = true; - State.SetValue(_ => TranslateState(HubConnection.State)); - await UploadSharesAsync(); } private Task HubConnection_Reconnecting(Exception arg) -- cgit v1.2.3