mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Handle channel joins
This commit is contained in:
parent
f12ada9d92
commit
d426977f03
@ -113,6 +113,15 @@ namespace osu.Game.Online.Notifications.WebSocket
|
||||
{
|
||||
switch (message.Event)
|
||||
{
|
||||
case @"chat.channel.join":
|
||||
Debug.Assert(message.Data != null);
|
||||
|
||||
Channel? joinedChannel = JsonConvert.DeserializeObject<Channel>(message.Data.ToString());
|
||||
Debug.Assert(joinedChannel != null);
|
||||
|
||||
HandleJoinedChannel(joinedChannel);
|
||||
break;
|
||||
|
||||
case @"chat.message.new":
|
||||
Debug.Assert(message.Data != null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user