mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Fix mark channel as read error
This commit is contained in:
parent
9e799efb1d
commit
7d6f7ac75e
@ -553,7 +553,7 @@ namespace osu.Game.Online.Chat
|
||||
if (channel.LastMessageId == channel.LastReadId)
|
||||
return;
|
||||
|
||||
var message = channel.Messages.LastOrDefault();
|
||||
var message = channel.Messages.FindLast(msg => !(msg is LocalMessage));
|
||||
|
||||
if (message == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user