This commit is contained in:
David Baker 2015-07-16 21:45:59 +01:00
parent cfbef0177e
commit d08c47a328
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ module.exports = {
},
roomMembers: function(limit) {
if (!this.props.roomId) return {};
var cli = MatrixClientPeg.get();
var all_members = cli.getRoom(this.props.roomId).currentState.members;
var all_user_ids = Object.keys(all_members);