mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 13:23:22 +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))
|
foreach (var message in messages.OrderByDescending(m => m.Id))
|
||||||
{
|
{
|
||||||
// ignore messages that already have been read
|
// ignore messages that already have been read
|
||||||
if (message.Id < channel.LastReadId)
|
if (message.Id <= channel.LastReadId)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (message.Sender.Id == localUser.Value.Id)
|
if (message.Sender.Id == localUser.Value.Id)
|
||||||
|
Loading…
Reference in New Issue
Block a user