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

Fix user page (missing null check)
pull/21833/head
Bruno Windels 2020-02-20 11:01:15 +00:00 committed by GitHub
commit 86c871f55f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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
) {