cleanning / code format
This commit is contained in:
Binary file not shown.
@ -168,9 +168,6 @@ namespace Yavsc
|
||||
return _cxManager.IsPresent(roomName, userName);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public ChatRoomInfo Join(string roomName)
|
||||
{
|
||||
_logger.LogInformation($"Join:{roomName}");
|
||||
@ -189,7 +186,7 @@ namespace Yavsc
|
||||
_logger.LogInformation($"Joining");
|
||||
chanInfo = _cxManager.Join(roomName, Context.ConnectionId);
|
||||
Clients.Group(roomGroupName).notifyRoom(NotificationTypes.UserJoin, roomName, user);
|
||||
} else{
|
||||
} else {
|
||||
_logger.LogInformation($"already present");
|
||||
// in case in an additional connection,
|
||||
// one only send info on room without
|
||||
@ -391,11 +388,9 @@ namespace Yavsc
|
||||
cli.addPV(Context.User.Identity.Name, message);
|
||||
_logger.LogInformation($"Sent pv to cx {connectionId}");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
|
||||
public void SendStream(string connectionId, long streamId, string message)
|
||||
{
|
||||
if (!InputValidator.ValidateMessage(message)) return;
|
||||
|
Reference in New Issue
Block a user