1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Merge remote-tracking branch 'origin/master' into timeshift-wip

This commit is contained in:
smoogipoo 2018-12-21 14:14:17 +09:00
commit 1df4826a1d

View File

@ -98,9 +98,9 @@ namespace osu.Game.Online.Chat
return;
if (text[0] == '/')
ChannelManager?.PostCommand(text.Substring(1));
ChannelManager?.PostCommand(text.Substring(1), Channel);
else
ChannelManager?.PostMessage(text);
ChannelManager?.PostMessage(text, target: Channel);
textbox.Text = string.Empty;
}
@ -133,6 +133,8 @@ namespace osu.Game.Online.Chat
if (channel == null) return;
channel.NewMessagesArrived += newMessages;
newMessages(channel.Messages);
}
private void newMessages(IEnumerable<Message> messages)