parent
fd81049609
commit
bd2c75f17c
@ -1,3 +1,3 @@ |
||||
Meteor.methods |
||||
channelsList: -> |
||||
return { channels: RocketChat.models.Rooms.findByType('c', { sort: { msgs:-1 } }).fetch() } |
||||
return { channels: RocketChat.models.Rooms.findByTypeAndArchivationState('c', false, { sort: { msgs:-1 } }).fetch() } |
||||
|
Loading…
Reference in new issue