mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Remove username data from PrivateMessageNotification
This commit is contained in:
parent
ea5eaba0a9
commit
f16b90a152
@ -137,13 +137,10 @@ namespace osu.Game.Online.Chat
|
||||
public PrivateMessageNotification(string username, Channel channel)
|
||||
{
|
||||
Icon = FontAwesome.Solid.Envelope;
|
||||
this.username = username;
|
||||
Text = $"You received a private message from '{username}'. Click to read it!";
|
||||
this.channel = channel;
|
||||
Text = $"You received a private message from '{this.username}'. Click to read it!";
|
||||
}
|
||||
|
||||
private readonly string username;
|
||||
|
||||
private readonly Channel channel;
|
||||
|
||||
public override bool IsImportant => false;
|
||||
|
Loading…
Reference in New Issue
Block a user