mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Fix NPE if you cold boot vector on a URL with a room which you were invited to but not yet joined.
This commit is contained in:
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…
x
Reference in New Issue
Block a user