mirror of https://github.com/ppy/osu
Improve `ToString` output of `Message`
This commit is contained in:
parent
b0039c9b1b
commit
c84f011bb7
|
@ -85,6 +85,6 @@ public virtual bool Equals(Message other)
|
|||
// 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