 
             console.log('room id', room.name, room.id)
 
+            store[room.id] = []
+
             events.on('snapshot', (snapshot) ->
                 console.log(snapshot.length + ' messages in the snapshot');
             )


module.exports = (robot) ->
    gitter = new Gitter(process.env.HUBOT_GITTER2_TOKEN)

    for roomName in roomNames
        #console.log(roomName)

            events.on('events', (message) ->
                console.log('A message was ' + message.operation);
                console.log('Text: ', message.model.text);
                parseMessage(room.id, message.model.text)
            )
        )

    parseMessage = (roomid, text) ->
        message = ''

        clearTimeout timeoutHandle

        comment = /\[Github\] (\w[\w-]+) commented in (.+?\/.+?) on issue: (.*?) http.*?\/(\d+)#.*/
        # name:1; reponame:2; issuename:3; issueid:4
