1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

Also exclude last read message

This commit is contained in:
Craftplacer 2020-01-22 00:28:08 +01:00
parent 9fd494b057
commit 699547e1a2

View File

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