aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/RelayClient.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-08 14:47:15 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-08 14:47:15 -0600
commit8943bd3cecd25897cd68188975b79b7d4d765e36 (patch)
tree24658d9870c1736ee75929db1be717e7afeeb6fa /src/slskd/Relay/RelayClient.cs
parent2e221feed97ad095d177e10850df9c606a26eca6 (diff)
downloadslskd-8943bd3cecd25897cd68188975b79b7d4d765e36.tar.gz
don't upload on reconnect
Diffstat (limited to 'src/slskd/Relay/RelayClient.cs')
-rw-r--r--src/slskd/Relay/RelayClient.cs4
1 files changed, 0 insertions, 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)