|
|
|
@ -168,9 +168,6 @@ namespace Yavsc
|
|
|
|
return _cxManager.IsPresent(roomName, userName);
|
|
|
|
return _cxManager.IsPresent(roomName, userName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ChatRoomInfo Join(string roomName)
|
|
|
|
public ChatRoomInfo Join(string roomName)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.LogInformation($"Join:{roomName}");
|
|
|
|
_logger.LogInformation($"Join:{roomName}");
|
|
|
|
@ -391,11 +388,9 @@ namespace Yavsc
|
|
|
|
cli.addPV(Context.User.Identity.Name, message);
|
|
|
|
cli.addPV(Context.User.Identity.Name, message);
|
|
|
|
_logger.LogInformation($"Sent pv to cx {connectionId}");
|
|
|
|
_logger.LogInformation($"Sent pv to cx {connectionId}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Authorize]
|
|
|
|
[Authorize]
|
|
|
|
|
|
|
|
|
|
|
|
public void SendStream(string connectionId, long streamId, string message)
|
|
|
|
public void SendStream(string connectionId, long streamId, string message)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!InputValidator.ValidateMessage(message)) return;
|
|
|
|
if (!InputValidator.ValidateMessage(message)) return;
|
|
|
|
|