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:
parent
5580ce31fa
commit
e4e7dd14f3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user