mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 15:31:22 +02:00
_loadMembersIfJoined is called from _onRoomLoaded < _onRoomViewStoreUpdate, before incoming state from the store is applied to this.state, so looking up the room with this.state.roomId doesn't always work, which would cause the members not to be loaded. Pass in the room instead.