diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-08 14:47:15 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-08 14:47:15 -0600 |
| commit | 8943bd3cecd25897cd68188975b79b7d4d765e36 (patch) | |
| tree | 24658d9870c1736ee75929db1be717e7afeeb6fa /src/slskd | |
| parent | 2e221feed97ad095d177e10850df9c606a26eca6 (diff) | |
| download | slskd-8943bd3cecd25897cd68188975b79b7d4d765e36.tar.gz | |
don't upload on reconnect
Diffstat (limited to 'src/slskd')
| -rw-r--r-- | src/slskd/Relay/RelayClient.cs | 4 |
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) |
