mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:03:21 +08:00
Do not try to join the Add-channel button
This commit is contained in:
parent
ad93eda399
commit
6cf1ca288f
@ -84,7 +84,11 @@ namespace osu.Game.Online.Chat
|
||||
?? new Channel(user);
|
||||
}
|
||||
|
||||
private void currentChannelChanged(ValueChangedEvent<Channel> e) => JoinChannel(e.NewValue);
|
||||
private void currentChannelChanged(ValueChangedEvent<Channel> e)
|
||||
{
|
||||
if (e.NewValue?.Name != "+")
|
||||
JoinChannel(e.NewValue);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ensure we run post actions in sequence, once at a time.
|
||||
|
Loading…
Reference in New Issue
Block a user