mirror of
https://github.com/ppy/osu
synced 2025-03-01 17:11:12 +00:00
Fix message notifier not handling unresolved PM channels
This commit is contained in:
parent
c69d53df00
commit
830ff66688
@ -77,7 +77,7 @@ namespace osu.Game.Online.Chat
|
||||
if (!messages.Any())
|
||||
return;
|
||||
|
||||
var channel = channelManager.JoinedChannels.SingleOrDefault(c => c.Id == messages.First().ChannelId);
|
||||
var channel = channelManager.JoinedChannels.SingleOrDefault(c => c.Id > 0 && c.Id == messages.First().ChannelId);
|
||||
|
||||
if (channel == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user