1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +08:00

Revert "Update presence on changes to multiplayer room"

This reverts commit 8b730acb08.
This commit is contained in:
jvyden 2024-03-11 18:16:13 -04:00
parent 5580ce31fa
commit e4e7dd14f3
No known key found for this signature in database
GPG Key ID: 18BCF2BE0262B278

View File

@ -8,7 +8,6 @@ using DiscordRPC.Message;
using Newtonsoft.Json;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Framework.Graphics;
using osu.Framework.Logging;
using osu.Game;
@ -92,8 +91,6 @@ namespace osu.Desktop
activity.BindValueChanged(_ => updateStatus());
privacyMode.BindValueChanged(_ => updateStatus());
multiplayerClient.RoomUpdated += updateStatus;
client.Initialize();
}
@ -274,9 +271,6 @@ namespace osu.Desktop
protected override void Dispose(bool isDisposing)
{
if (multiplayerClient.IsNotNull())
multiplayerClient.RoomUpdated -= updateStatus;
client.Dispose();
base.Dispose(isDisposing);
}