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

Touch up inline comments

This commit is contained in:
Bartłomiej Dach 2023-05-20 19:29:59 +02:00
parent 7ac6688a0f
commit a677d87d39
No known key found for this signature in database

View File

@ -93,7 +93,7 @@ namespace osu.Game.Online.Chat
if (channel == null) if (channel == null)
return; return;
// Only send notifications, if ChatOverlay and the target channel aren't visible, or if the window is unfocused // Only send notifications if ChatOverlay or the target channel aren't visible, or if the window is unfocused
if (chatOverlay.IsPresent && channelManager.CurrentChannel.Value == channel && host.IsActive.Value) if (chatOverlay.IsPresent && channelManager.CurrentChannel.Value == channel && host.IsActive.Value)
return; return;
@ -103,7 +103,7 @@ namespace osu.Game.Online.Chat
if (message.Id <= channel.LastReadId) if (message.Id <= channel.LastReadId)
return; return;
// ignore notifications triggered by your own chat messages // ignore notifications triggered by local user's own chat messages
if (message.Sender.Id == localUser.Value.Id) if (message.Sender.Id == localUser.Value.Id)
continue; continue;