diff --git a/osu.Game/Online/Chat/MessageNotifier.cs b/osu.Game/Online/Chat/MessageNotifier.cs index 65aac723da..b91cf06847 100644 --- a/osu.Game/Online/Chat/MessageNotifier.cs +++ b/osu.Game/Online/Chat/MessageNotifier.cs @@ -127,6 +127,8 @@ namespace osu.Game.Online.Chat if (!notifyOnPrivateMessage.Value || channel.Type != ChannelType.PM) return false; + (host as DesktopGameHost)?.FlashWindow(); + notifications.Post(new PrivateMessageNotification(message, channel)); return true; } @@ -135,6 +137,8 @@ namespace osu.Game.Online.Chat { if (!notifyOnUsername.Value || !CheckContainsUsername(message.Content, localUser.Value.Username)) return; + (host as DesktopGameHost)?.FlashWindow(); + notifications.Post(new MentionNotification(message, channel)); }