mirror of https://github.com/vector-im/riot-web
Merge pull request #4088 from matrix-org/bwindels/fixuserpage
Fix user page (missing null check)pull/21833/head
commit
86c871f55f
|
@ -92,6 +92,7 @@ export default class RightPanel extends React.Component {
|
||||||
// not mounted in time to get the dispatch.
|
// not mounted in time to get the dispatch.
|
||||||
// Until then, let this code serve as a warning from history.
|
// Until then, let this code serve as a warning from history.
|
||||||
if (
|
if (
|
||||||
|
rps.roomPanelPhaseParams.member &&
|
||||||
userForPanel.userId === rps.roomPanelPhaseParams.member.userId &&
|
userForPanel.userId === rps.roomPanelPhaseParams.member.userId &&
|
||||||
rps.roomPanelPhaseParams.verificationRequest
|
rps.roomPanelPhaseParams.verificationRequest
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue