Fix last commit

pull/5371/head
Rodrigo Nascimento 9 years ago
parent 9f8a68eab0
commit 7baef90789
No known key found for this signature in database
GPG Key ID: 2C85B3AFE75D23F9
  1. 2
      server/publications/room.js

@ -50,7 +50,7 @@ Meteor.methods({
};
}
return RocketChat.models.Rooms.findBySubscriptionUserId(Meteor.userId(), options);
return RocketChat.models.Rooms.findBySubscriptionUserId(Meteor.userId(), options).fetch();
},
getRoomByTypeAndName(type, name) {

Loading…
Cancel
Save