parent
ea9689b6a5
commit
b89ba68a0f
@ -1,8 +1,8 @@ |
||||
Meteor.publish 'allUsers', -> |
||||
Meteor.publish 'activeUsers', -> |
||||
unless this.userId |
||||
return this.ready() |
||||
|
||||
console.log '[publish] allUsers'.green |
||||
console.log '[publish] activeUsers'.green |
||||
|
||||
Meteor.users.find |
||||
username: |
||||
@ -1,8 +1,8 @@ |
||||
Meteor.publish 'dashboardRoom', (rid, start) -> |
||||
Meteor.publish 'messages', (rid, start) -> |
||||
unless this.userId |
||||
return this.ready() |
||||
|
||||
console.log '[publish] dashboardRoom ->'.green, 'rid:', rid, 'start:', start |
||||
console.log '[publish] messages ->'.green, 'rid:', rid, 'start:', start |
||||
|
||||
if typeof rid isnt 'string' |
||||
return this.ready() |
||||
@ -1,8 +1,8 @@ |
||||
Meteor.publish 'myRoomActivity', -> |
||||
Meteor.publish 'subscription', -> |
||||
unless this.userId |
||||
return this.ready() |
||||
|
||||
console.log '[publish] myRoomActivity'.green |
||||
console.log '[publish] subscription'.green |
||||
|
||||
return Meteor.publishWithRelations |
||||
handle: this |
||||
Loading…
Reference in new issue