                 console.log 'Ending scrum'
                 that.checkCronJob.stop()
                 # Unsubscribe from the rooms message stream
-                gitter.rooms.find(that._roomId)
+                gitter.rooms.join(that._room)
                     .then (room) ->
                         room.unsubscribe()
                 that._robot.brain.set "scrumlog" + day.toString() + month.toString() + year.toString() + hour.toString() + minutes.toString(), that._scrumLog

        that._recentMessage = true

        that.cronJob = new CronJob(time, startScrum, null, true, null, this)

        # Request to get list of rooms the bot is in
        # Find the id by matching room names
        # The id is needed for the other API calls
        gitter.currentUser()
            .then (user) ->
                user.rooms()
                    .then (rooms) ->
                        for room in rooms
                            # match uri to room name
                            if room.uri == that._room
                                that._roomId = room.id


    startScrum = ->

            hour.toString() + ':' + minutes.toString()

        # Find current room
        gitter.rooms.join(that._room)
            .then (room) ->
                # Request to get list of users in the scrum's room
                room.subscribe()
