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