mirror of https://github.com/vector-im/riot-web
pr feedback
parent
a73b7229a7
commit
716c8ba68f
|
@ -45,7 +45,6 @@ export default class MKeyVerificationRequest extends React.Component {
|
|||
|
||||
_openRequest = () => {
|
||||
const {verificationRequest} = this.props.mxEvent;
|
||||
dis.dispatch({action: "show_right_panel"});
|
||||
dis.dispatch({
|
||||
action: "set_right_panel_phase",
|
||||
phase: RIGHT_PANEL_PHASES.EncryptionPanel,
|
||||
|
|
|
@ -76,7 +76,6 @@ export default class VerificationRequestToast extends React.PureComponent {
|
|||
}
|
||||
try {
|
||||
await request.accept();
|
||||
dis.dispatch({action: "show_right_panel"});
|
||||
dis.dispatch({
|
||||
action: "set_right_panel_phase",
|
||||
phase: RIGHT_PANEL_PHASES.EncryptionPanel,
|
||||
|
|
|
@ -21,8 +21,9 @@ export const RIGHT_PANEL_PHASES = Object.freeze({
|
|||
FilePanel: 'FilePanel',
|
||||
NotificationPanel: 'NotificationPanel',
|
||||
RoomMemberInfo: 'RoomMemberInfo',
|
||||
Room3pidMemberInfo: 'Room3pidMemberInfo',
|
||||
EncryptionPanel: 'EncryptionPanel',
|
||||
|
||||
Room3pidMemberInfo: 'Room3pidMemberInfo',
|
||||
// Group stuff
|
||||
GroupMemberList: 'GroupMemberList',
|
||||
GroupRoomList: 'GroupRoomList',
|
||||
|
|
Loading…
Reference in New Issue