       @poll()
 
     
-  post: (path, body, callback) ->
+  post: (path, body = {}, callback) ->
     request = new WebRequest(@robot.logger)
     request.post path, body, callback, @ticket, @token_id
 

    author = @robot.brain.userForId author_id
    author.room = conversation_id
    author.reply_to = author_id
    
    @emit 'gotMessage', author, message


  poll: =>
    @robot.logger.debug 'Starting long poll request'

      resp.event_horizon
    @robot.logger.debug 'Finished handling long poll response'


  # Processes a single Event object in a list of Fleep events
  handleStreamEvent: (event) =>

    @robot.logger.debug event

    # Event does not have a rec_type, API error?
    if not event.mk_rec_type?
      @robot.logger.error 'Invalid response from the server'
      return

    # New contact information
    if event.mk_rec_type is 'contact'
      user = @robot.brain.userForId event.account_id

      # Only save the contact name if it's currently unknown
      if not user.name? or user.name is user.id
        user.name = event.display_name
        @robot.logger.debug "New contact: id #{user.id}, name #{user.name}"
      return

    # Skip everything but text message events
