mirror of https://github.com/vector-im/riot-web
Fix NPE if you cold boot vector on a URL with a room which you were invited to but not yet joined.
parent
feaf2a319b
commit
d4a5ab11d4
|
@ -160,7 +160,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
roomMembers: function(limit) {
|
||||
var all_members = this.memberDict;
|
||||
var all_members = this.memberDict || {};
|
||||
var all_user_ids = Object.keys(all_members);
|
||||
|
||||
if (this.memberSort) all_user_ids.sort(this.memberSort);
|
||||
|
|
Loading…
Reference in New Issue