             console.log(m)
             message = pushimg + vsprintf('%1$s pushed %2$s commit(s) to [%3$s](https://github.com/%3$s/): [\[compare\]](%4$s)', m)
 
-        console.log('-->', message)
+        console.log(' -->', message)
+
+        # store message and wait in case new messages come soon
         if message != ''
-            robot.send
-                room: roomid
-                message
+           store[roomid].push message
+           timeoutHandle = setTimeout repostMessage, timeoutDuration, roomid
+           console.log(' ---> timeout handle', timeoutHandle)
+
+    # when timeout resolves, repost all captured messages
+    repostMessage = (roomid) ->
+
+        console.log(' ---> time out; reposting', roomid)
+
+        robot.send
+            room: roomid
+            store[roomid].join '\n'
+
+        store[roomid] = []
 
     return


            console.log('room id', room.name, 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)
    store = {}
    timeoutHandle = null
    timeoutDuration = 3000

    for roomName in roomNames
        #console.log(roomName)
