fixes op send message
This commit is contained in:
parent
311e694a5b
commit
eeb84be578
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue