mirror of https://github.com/vector-im/riot-web
Merge pull request #4558 from matrix-org/dbkr/fix_member_panel_hide
Fix right panel hiding when viewing room memberpull/21833/head
commit
0fd06300be
|
@ -139,7 +139,7 @@ export default class RightPanelStore extends Store {
|
||||||
let targetPhase = payload.phase;
|
let targetPhase = payload.phase;
|
||||||
let refireParams = payload.refireParams;
|
let refireParams = payload.refireParams;
|
||||||
// redirect to EncryptionPanel if there is an ongoing verification request
|
// redirect to EncryptionPanel if there is an ongoing verification request
|
||||||
if (targetPhase === RIGHT_PANEL_PHASES.RoomMemberInfo) {
|
if (targetPhase === RIGHT_PANEL_PHASES.RoomMemberInfo && payload.refireParams) {
|
||||||
const {member} = payload.refireParams;
|
const {member} = payload.refireParams;
|
||||||
const pendingRequest = pendingVerificationRequestForUser(member);
|
const pendingRequest = pendingVerificationRequestForUser(member);
|
||||||
if (pendingRequest) {
|
if (pendingRequest) {
|
||||||
|
|
Loading…
Reference in New Issue