mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Improve ToString
output of Message
This commit is contained in:
parent
b0039c9b1b
commit
c84f011bb7
@ -85,6 +85,6 @@ namespace osu.Game.Online.Chat
|
||||
// ReSharper disable once ImpureMethodCallOnReadonlyValueField
|
||||
public override int GetHashCode() => Id.GetHashCode();
|
||||
|
||||
public override string ToString() => $"[{ChannelId}] ({Id}) {Sender}: {Content}";
|
||||
public override string ToString() => $"({(Id?.ToString() ?? "null")}) {Timestamp} {Sender}: {Content}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user