fixes op send message

vnext
Paul Schneider 5 years ago
parent 2203da5055
commit f44cee5d25
1 changed files with 1 additions and 1 deletions

@ -338,7 +338,7 @@ namespace Yavsc
return;
}
var userName = _cxManager.GetUserName(Context.ConnectionId);
if (!chanInfo.Users.Contains(userName))
if (!_cxManager.IsPresent(roomName, userName))
{
var notSentMsg = _localizer.GetString(ChatHubConstants.LabnoJoinNoSend);
Clients.Caller.notifyUser(NotificationTypes.Error, roomName, notSentMsg);

Loading…