mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Review fixes
This commit is contained in:
@ -79,7 +79,7 @@ namespace osu.Game.Online.Chat
|
||||
public void ReplaceMessage(LocalEchoMessage echo, Message final)
|
||||
{
|
||||
if (!pendingMessages.Remove(echo))
|
||||
Trace.Fail("Attempted to remove echo that wasn't present");
|
||||
throw new InvalidOperationException("Attempted to remove echo that wasn't present");
|
||||
|
||||
Messages.Remove(echo);
|
||||
|
||||
|
@ -44,7 +44,6 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
public int CompareTo(Message other)
|
||||
{
|
||||
|
||||
if (!Id.HasValue)
|
||||
return other.Id.HasValue ? 1 : Timestamp.CompareTo(other.Timestamp);
|
||||
if (!other.Id.HasValue)
|
||||
|
Reference in New Issue
Block a user