the client will have access only to the meeting they are in so they can see the meeting"s name and record status
This commit is contained in:
parent
1c1815fb16
commit
884cce7e9b
@ -10,7 +10,8 @@ Router.map ->
|
||||
Meteor.subscribe 'shapes', Session.get('meetingId')
|
||||
Meteor.subscribe 'slides', Session.get('meetingId')
|
||||
Meteor.subscribe 'chatTabs', Session.get('userId')
|
||||
|
||||
Meteor.subscribe 'meetings', Session.get('meetingId')
|
||||
|
||||
# I have no idea where to put this
|
||||
Meteor.ChatTabs.insert({isActive:true, name:"Public", class: "publicChatTab", 'belongsTo': Session.get("userId")})
|
||||
Meteor.ChatTabs.insert({isActive:false, name:"Options", class: "optionsChatTab", 'belongsTo': Session.get("userId")})
|
||||
|
@ -15,4 +15,5 @@ Meteor.publish 'slides', (meetingId) ->
|
||||
Meteor.publish 'chatTabs', (userId) ->
|
||||
Meteor.ChatTabs.find({'belongsTo': userId})
|
||||
|
||||
# should we be publishing Meteor.Meetings? for now we are not
|
||||
Meteor.publish 'meetings', (meetingId) ->
|
||||
Meteor.Meetings.find({meetingId: meetingId})
|
||||
|
Loading…
Reference in New Issue
Block a user