Merge pull request #4088 from matrix-org/bwindels/fixuserpage

Fix user page (missing null check)
This commit is contained in:
Bruno Windels
2020-02-20 11:01:15 +00:00
committed by GitHub

View File

@@ -92,6 +92,7 @@ export default class RightPanel extends React.Component {
// not mounted in time to get the dispatch.
// Until then, let this code serve as a warning from history.
if (
rps.roomPanelPhaseParams.member &&
userForPanel.userId === rps.roomPanelPhaseParams.member.userId &&
rps.roomPanelPhaseParams.verificationRequest
) {