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

Trigger successes

This commit is contained in:
smoogipoo 2021-06-29 20:13:39 +09:00
parent ca0eaab8e2
commit 1b2d00f796
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,8 @@ namespace osu.Game.Tests.Chat
{
switch (req)
{
case JoinChannelRequest _:
case JoinChannelRequest joinChannel:
joinChannel.TriggerSuccess();
return true;
case PostMessageRequest postMessage:

View File

@ -82,7 +82,8 @@ namespace osu.Game.Tests.Visual.Online
{
switch (req)
{
case JoinChannelRequest _:
case JoinChannelRequest joinChannel:
joinChannel.TriggerSuccess();
return true;
}