matrix-react-sdk
473f2dd7 - pass room to _loadMembersIfJoined, it's called when newState not applied

Commit
7 years ago
pass room to _loadMembersIfJoined, it's called when newState not applied _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.
Author
Parents
Loading