Skip to content

Commit d4a5ab1

Browse files
committed
Fix NPE if you cold boot vector on a URL with a room which you were invited to but not yet joined.
1 parent feaf2a3 commit d4a5ab1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/controllers/organisms/MemberList.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ module.exports = {
160160
},
161161

162162
roomMembers: function(limit) {
163-
var all_members = this.memberDict;
163+
var all_members = this.memberDict || {};
164164
var all_user_ids = Object.keys(all_members);
165165

166166
if (this.memberSort) all_user_ids.sort(this.memberSort);

0 commit comments

Comments
 (0)