 checkMessage = (msg) ->
   passed = check.object msg
   unless passed then return false
-  passed = check.map msg, { textMessage : check.string }
-  if passed then return Object.keys(msg).length == 1
+  return check.map msg, { textMessage : check.string }
 
 # @private
 # @nodoc

  # @nodoc
  roomMessage : (roomName, msg, cb) ->
    @withRoom roomName, withEH cb, (room) =>
      msg = processMessage @username, msg
      room.message @username, msg, withEH cb, =>
        @send roomName, 'roomMessage', roomName, @username, msg
        cb null, msg

  # @private

      return cb error
    @chatState.getOnlineUser toUserName, withEH cb, (toUser) =>
      @chatState.getOnlineUser @username, withEH cb, (fromUser) =>
        pmsg = processMessage @username, msg
        toUser.message @username, pmsg, withEH cb, =>
          fromUser.userState.socketsGetAll withEH cb, (sockets) =>
            for sid in sockets
              if sid != id
                @send sid, 'directMessageEcho', toUserName, pmsg
            toUser.userState.socketsGetAll withEH cb, (sockets) =>
              for sid in sockets
                @send sid, 'directMessage', @username, pmsg
              cb null, msg

  # @private
