Re-enable connection retrying on discord connector

This commit is contained in:
Bartłomiej Dach 2023-07-17 19:19:03 +02:00
parent a6b1559e1f
commit 17aac0694e
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

View File

@ -54,9 +54,6 @@ private void load(OsuConfigManager config)
client.OnReady += onReady; client.OnReady += onReady;
// safety measure for now, until we performance test / improve backoff for failed connections.
client.OnConnectionFailed += (_, _) => client.Deinitialize();
client.OnError += (_, e) => Logger.Log($"An error occurred with Discord RPC Client: {e.Code} {e.Message}", LoggingTarget.Network); client.OnError += (_, e) => Logger.Log($"An error occurred with Discord RPC Client: {e.Code} {e.Message}", LoggingTarget.Network);
config.BindWith(OsuSetting.DiscordRichPresence, privacyMode); config.BindWith(OsuSetting.DiscordRichPresence, privacyMode);