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

Fix not posting to the correct channel

This commit is contained in:
smoogipoo 2018-12-21 14:02:29 +09:00
parent e8a03a94d1
commit 6b6629e9fd

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;
}