cleanning / code format

This commit is contained in:
2019-09-14 14:54:39 +01:00
parent c2f0db5daa
commit 2375915952
2 changed files with 7 additions and 12 deletions

Binary file not shown.

View File

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