|
|
|
|
@ -2,7 +2,7 @@ Meteor.publish 'privateHistory', -> |
|
|
|
|
unless this.userId |
|
|
|
|
return this.ready() |
|
|
|
|
|
|
|
|
|
RocketChat.models.Rooms.findByContainigUsername RocketChat.models.Users.findOneById(this.userId).username, |
|
|
|
|
RocketChat.models.Rooms.findByContainingUsername RocketChat.models.Users.findOneById(this.userId).username, |
|
|
|
|
fields: |
|
|
|
|
t: 1 |
|
|
|
|
name: 1 |
|
|
|
|
@ -10,4 +10,3 @@ Meteor.publish 'privateHistory', -> |
|
|
|
|
ts: 1 |
|
|
|
|
lm: 1 |
|
|
|
|
cl: 1 |
|
|
|
|
|
|
|
|
|
|