Merge pull request #2900 from antobinary/pres-changes2
html5client:fix presentation slide change from html5 presenter
This commit is contained in:
commit
d59fd4971d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user