public void SendIsTyping(ISession session, SendIsTypingRequest request) { Logger.Trace("IsTyping={0} from {1}", request.IsTyping, session.UserId); //actually we may send IsTyping only to "Active" device only, by Active I mean the most recently used one. foreach (var deviceId in request.Devices) { _isTypingEventManager.DeliverEventToDevice(new IsTypingEvent { IsTyping = request.IsTyping, SenderUserId = session.UserId, GroupId = request.GroupId, ReceiverDeviceId = deviceId }); } }
public Task SendIsTyping(SendIsTypingRequest request) { return _connectionManager.SendRequest(request); }