File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/components/structures Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11/*
2- Copyright 2015, 2016 OpenMarket Ltd
3- Copyright 2017 Vector Creations Ltd
4- Copyright 2017, 2018 New Vector Ltd
52Copyright 2019 Michael Telatynski <[email protected] > 6- Copyright 2019 The Matrix.org Foundation C.I.C.
3+ Copyright 2015 - 2020 The Matrix.org Foundation C.I.C.
74
85Licensed under the Apache License, Version 2.0 (the "License");
96you may not use this file except in compliance with the License.
@@ -162,7 +159,7 @@ export default class RightPanel extends React.Component {
162159 }
163160
164161 onRoomStateMember ( ev , state , member ) {
165- if ( member . roomId !== this . props . room . roomId ) {
162+ if ( ! this . props . room || member . roomId !== this . props . room . roomId ) {
166163 return ;
167164 }
168165 // redraw the badge on the membership list
You can’t perform that action at this time.
0 commit comments