fix for the merge and fix for an issue with get_all_meetings_request not recognized in bbb-apps
This commit is contained in:
parent
3075166fa8
commit
7730abbeb8
@ -79,8 +79,8 @@ Template.optionsBar.events
|
||||
currUserId = getInSession("userId")
|
||||
duplicate = (x for x in myTabs.get() when x.userId is @userId)
|
||||
|
||||
if duplicate.length<=0 and @userId isnt currUserId
|
||||
messageForServer = {
|
||||
if duplicate.length <=0 and @userId isnt currUserId
|
||||
messageForServer =
|
||||
"message": "#{getUsersName()} has joined private chat with #{@user.name}."
|
||||
"chat_type": "PRIVATE_CHAT"
|
||||
"from_userid": getInSession("userId")
|
||||
|
@ -166,7 +166,7 @@ class Meteor.RedisPubSub
|
||||
"meeting_id": meetingId
|
||||
"requester_id": "nodeJSapp"
|
||||
"whiteboard_id": whiteboardId
|
||||
"header": {
|
||||
"header":
|
||||
"timestamp": new Date().getTime()
|
||||
"name": "get_whiteboard_shapes_request"
|
||||
"version": "0.0.1"
|
||||
@ -222,6 +222,6 @@ class Meteor.RedisPubSub
|
||||
message =
|
||||
"header":
|
||||
"name": "get_all_meetings_request"
|
||||
"payload": undefined #not sure if I need this
|
||||
"payload": {} # I need this, otherwise bbb-apps won't recognize the message
|
||||
|
||||
@pubClient.publish(Meteor.config.redis.channels.toBBBApps.meeting, JSON.stringify (message))
|
||||
|
Loading…
Reference in New Issue
Block a user