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:
parent
91483bdc2f
commit
00527da27d
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user