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

Actually apply new parameter

This commit is contained in:
Dean Herbert 2023-02-10 18:29:39 +09:00
parent ee65c65893
commit 4f7d26b776

View File

@ -583,7 +583,8 @@ namespace osu.Game.Online.Chat
if (channel.Joined.Value)
{
api.Queue(new LeaveChannelRequest(channel));
if (sendLeaveRequest)
api.Queue(new LeaveChannelRequest(channel));
channel.Joined.Value = false;
}
}