               @emit 'poll', response.id
             .fail (err) =>
               @robot.emit 'error', new Error("Unable to read datafeed #{response.id}: #{err}")
-        @emit 'connected'
         @emit 'poll'
       .fail (err) =>
         @robot.emit 'error', new Error("Unable to create datafeed: #{err}")

#    limitations under the License.
#

{Adapter} = require 'hubot'
Symphony = require './symphony'
{V2Message} = require './message'


    @symphony.createDatafeed()
      .then (response) =>
        @robot.logger.info "Created datafeed: #{response.id}"
        @emit 'connected'
        this.on 'poll', () =>
          @robot.logger.debug "Polling datafeed #{response.id}"
          @symphony.readDatafeed(response.id)
