You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
add null check
This commit is contained in:
@@ -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
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user