From f7de07970a5d557fd0232761b3e82f64d33dcc6e Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Wed, 18 Nov 2015 09:35:45 -0500 Subject: [PATCH] fix for presentation slide change from html5 presenter --- .../server/collection_methods/presentations.coffee | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/bigbluebutton-html5/app/server/collection_methods/presentations.coffee b/bigbluebutton-html5/app/server/collection_methods/presentations.coffee index 1c6f2d991a..c3f8a889d8 100755 --- a/bigbluebutton-html5/app/server/collection_methods/presentations.coffee +++ b/bigbluebutton-html5/app/server/collection_methods/presentations.coffee @@ -14,15 +14,12 @@ Meteor.methods "slide.num" : currentSlideDoc?.slide.num-1}) if previousSlideDoc? and isAllowedTo('switchSlide', meetingId, userId, authToken) - newPage = previousSlideDoc.slide.id message = "payload": - "page": - "id": previousSlideDoc.slide.id + "page": previousSlideDoc.slide.id "meeting_id": meetingId "header": - "timestamp": new Date().getTime() - "name": "presentation_page_changed_message" + "name": "go_to_slide" publish Meteor.config.redis.channels.toBBBApps.presentation, message @@ -41,15 +38,12 @@ Meteor.methods "slide.num" : currentSlideDoc?.slide.num+1}) if nextSlideDoc? and isAllowedTo('switchSlide', meetingId, userId, authToken) - newPage = nextSlideDoc.slide.id message = "payload": - "page": - "id": nextSlideDoc.slide.id + "page": nextSlideDoc.slide.id "meeting_id": meetingId "header": - "timestamp": new Date().getTime() - "name": "presentation_page_changed_message" + "name": "go_to_slide" publish Meteor.config.redis.channels.toBBBApps.presentation, message