1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Remove username data from PrivateMessageNotification

This commit is contained in:
Craftplacer 2020-02-03 23:56:23 +01:00
parent ea5eaba0a9
commit f16b90a152

View File

@ -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;