mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Touch up inline comments
This commit is contained in:
parent
7ac6688a0f
commit
a677d87d39
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user