Make HighlightMessage implicitly show chat overlay

This commit is contained in:
Dean Herbert 2022-04-09 00:30:28 +09:00
parent 53484eb7de
commit ae1e126837
2 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,6 @@ namespace osu.Game.Online.Chat
{
notificationOverlay.Hide();
chatOverlay.HighlightMessage(message, channel);
chatOverlay.Show();
return true;
};
}

View File

@ -313,6 +313,8 @@ namespace osu.Game.Overlays
/// <param name="channel">The channel containing the message.</param>
public void HighlightMessage(Message message, Channel channel)
{
Show();
Debug.Assert(channel.Id == message.ChannelId);
if (currentChannel.Value.Id != channel.Id)