1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

When discord is set to privacy mode, don't show beatmap being edited

This commit is contained in:
Dean Herbert 2024-03-01 11:42:35 +08:00
parent 91483bdc2f
commit 00527da27d
No known key found for this signature in database

View File

@ -151,7 +151,11 @@ namespace osu.Game.Users
public EditingBeatmap() { }
public override string GetStatus(bool hideIdentifiableInformation = false) => @"Editing a beatmap";
public override string GetDetails(bool hideIdentifiableInformation = false) => BeatmapDisplayTitle;
public override string GetDetails(bool hideIdentifiableInformation = false) => hideIdentifiableInformation
// For now let's assume that showing the beatmap a user is editing could reveal unwanted information.
? string.Empty
: BeatmapDisplayTitle;
}
[MessagePackObject]