add null check

pull/21833/head
Bruno Windels 2020-02-19 10:40:00 +01:00
parent 27f65c17b5
commit cb5882d59b
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
) {