fixes op send message
This commit is contained in:
@ -338,7 +338,7 @@ namespace Yavsc
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var userName = _cxManager.GetUserName(Context.ConnectionId);
|
var userName = _cxManager.GetUserName(Context.ConnectionId);
|
||||||
if (!chanInfo.Users.Contains(userName))
|
if (!_cxManager.IsPresent(roomName, userName))
|
||||||
{
|
{
|
||||||
var notSentMsg = _localizer.GetString(ChatHubConstants.LabnoJoinNoSend);
|
var notSentMsg = _localizer.GetString(ChatHubConstants.LabnoJoinNoSend);
|
||||||
Clients.Caller.notifyUser(NotificationTypes.Error, roomName, notSentMsg);
|
Clients.Caller.notifyUser(NotificationTypes.Error, roomName, notSentMsg);
|
||||||
|
Reference in New Issue
Block a user