1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Fix order where messages are checked in

This commit is contained in:
Craftplacer 2020-01-22 00:27:46 +01:00
parent 47a92a13b0
commit 9fd494b057

View File

@ -96,7 +96,7 @@ namespace osu.Game.Online.Chat
if (IsActive && channelManager.CurrentChannel.Value == channel)
return;
foreach (var message in messages)
foreach (var message in messages.OrderByDescending(m => m.Id))
{
// ignore messages that already have been read
if (message.Id < channel.LastReadId)