mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 23:40:57 +08:00
Revert "Update presence on changes to multiplayer room"
This reverts commit 8b730acb08.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user