Setting stage for channel types and groups
This commit is contained in:
@@ -34,8 +34,6 @@ var wssv = new WebSocketServer("ws://localhost:1337");
|
||||
wssv.AddWebSocketService<ChatSocketBehavior>("/");
|
||||
RtcNotificationService.Server = wssv;
|
||||
|
||||
//TODO: Use AnswerCallback as a test on client and use the /rtc/answer endpoint call as a test on server
|
||||
|
||||
wssv.Start();
|
||||
Console.WriteLine("WebSocket server started");
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ public class ChatSocketBehavior : WebSocketBehavior
|
||||
Console.WriteLine("Db is not initialized.");
|
||||
return;
|
||||
}
|
||||
|
||||
//TODO: Update to include ChannelType and Group String on channels
|
||||
var channels = GetChannelsSync()
|
||||
.OrderBy(c => c.CreatedAt)
|
||||
.Select(c => new ChannelItem()
|
||||
|
||||
Reference in New Issue
Block a user