From 0aa7038ae149b5244b15125841a3159c16ca2899 Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Fri, 27 Nov 2015 16:40:31 +0000 Subject: [PATCH] fix bug-shapes were flushed no matter which meeting ends --- bigbluebutton-html5/app/server/collection_methods/shapes.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/app/server/collection_methods/shapes.coffee b/bigbluebutton-html5/app/server/collection_methods/shapes.coffee index 94ac6d69e8..5be009add6 100755 --- a/bigbluebutton-html5/app/server/collection_methods/shapes.coffee +++ b/bigbluebutton-html5/app/server/collection_methods/shapes.coffee @@ -89,7 +89,7 @@ # called on server start and meeting end @clearShapesCollection = (meetingId) -> if meetingId? - Meteor.Shapes.remove {}, -> + Meteor.Shapes.remove {meetingId: meetingId}, -> Meteor.log.info "cleared Shapes Collection (meetingId: #{meetingId}!" Meteor.WhiteboardCleanStatus.update({meetingId: meetingId}, {$set: {in_progress: false}}) else