mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Fix not posting to the correct channel
This commit is contained in:
parent
e8a03a94d1
commit
6b6629e9fd
@ -98,9 +98,9 @@ namespace osu.Game.Online.Chat
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (text[0] == '/')
|
if (text[0] == '/')
|
||||||
ChannelManager?.PostCommand(text.Substring(1));
|
ChannelManager?.PostCommand(text.Substring(1), Channel);
|
||||||
else
|
else
|
||||||
ChannelManager?.PostMessage(text);
|
ChannelManager?.PostMessage(text, target: Channel);
|
||||||
|
|
||||||
textbox.Text = string.Empty;
|
textbox.Text = string.Empty;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user