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})
|
"slide.num" : currentSlideDoc?.slide.num-1})
|
||||||
|
|
||||||
if previousSlideDoc? and isAllowedTo('switchSlide', meetingId, userId, authToken)
|
if previousSlideDoc? and isAllowedTo('switchSlide', meetingId, userId, authToken)
|
||||||
newPage = previousSlideDoc.slide.id
|
|
||||||
message =
|
message =
|
||||||
"payload":
|
"payload":
|
||||||
"page":
|
"page": previousSlideDoc.slide.id
|
||||||
"id": previousSlideDoc.slide.id
|
|
||||||
"meeting_id": meetingId
|
"meeting_id": meetingId
|
||||||
"header":
|
"header":
|
||||||
"timestamp": new Date().getTime()
|
"name": "go_to_slide"
|
||||||
"name": "presentation_page_changed_message"
|
|
||||||
|
|
||||||
publish Meteor.config.redis.channels.toBBBApps.presentation, message
|
publish Meteor.config.redis.channels.toBBBApps.presentation, message
|
||||||
|
|
||||||
@ -41,15 +38,12 @@ Meteor.methods
|
|||||||
"slide.num" : currentSlideDoc?.slide.num+1})
|
"slide.num" : currentSlideDoc?.slide.num+1})
|
||||||
|
|
||||||
if nextSlideDoc? and isAllowedTo('switchSlide', meetingId, userId, authToken)
|
if nextSlideDoc? and isAllowedTo('switchSlide', meetingId, userId, authToken)
|
||||||
newPage = nextSlideDoc.slide.id
|
|
||||||
message =
|
message =
|
||||||
"payload":
|
"payload":
|
||||||
"page":
|
"page": nextSlideDoc.slide.id
|
||||||
"id": nextSlideDoc.slide.id
|
|
||||||
"meeting_id": meetingId
|
"meeting_id": meetingId
|
||||||
"header":
|
"header":
|
||||||
"timestamp": new Date().getTime()
|
"name": "go_to_slide"
|
||||||
"name": "presentation_page_changed_message"
|
|
||||||
|
|
||||||
publish Meteor.config.redis.channels.toBBBApps.presentation, message
|
publish Meteor.config.redis.channels.toBBBApps.presentation, message
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user