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:
parent
9fd494b057
commit
699547e1a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user