pr feedback

This commit is contained in:
Bruno Windels 2020-01-17 17:02:31 +01:00
parent a73b7229a7
commit 716c8ba68f
3 changed files with 2 additions and 3 deletions

View file

@ -45,7 +45,6 @@ export default class MKeyVerificationRequest extends React.Component {
_openRequest = () => { _openRequest = () => {
const {verificationRequest} = this.props.mxEvent; const {verificationRequest} = this.props.mxEvent;
dis.dispatch({action: "show_right_panel"});
dis.dispatch({ dis.dispatch({
action: "set_right_panel_phase", action: "set_right_panel_phase",
phase: RIGHT_PANEL_PHASES.EncryptionPanel, phase: RIGHT_PANEL_PHASES.EncryptionPanel,

View file

@ -76,7 +76,6 @@ export default class VerificationRequestToast extends React.PureComponent {
} }
try { try {
await request.accept(); await request.accept();
dis.dispatch({action: "show_right_panel"});
dis.dispatch({ dis.dispatch({
action: "set_right_panel_phase", action: "set_right_panel_phase",
phase: RIGHT_PANEL_PHASES.EncryptionPanel, phase: RIGHT_PANEL_PHASES.EncryptionPanel,

View file

@ -21,8 +21,9 @@ export const RIGHT_PANEL_PHASES = Object.freeze({
FilePanel: 'FilePanel', FilePanel: 'FilePanel',
NotificationPanel: 'NotificationPanel', NotificationPanel: 'NotificationPanel',
RoomMemberInfo: 'RoomMemberInfo', RoomMemberInfo: 'RoomMemberInfo',
Room3pidMemberInfo: 'Room3pidMemberInfo',
EncryptionPanel: 'EncryptionPanel', EncryptionPanel: 'EncryptionPanel',
Room3pidMemberInfo: 'Room3pidMemberInfo',
// Group stuff // Group stuff
GroupMemberList: 'GroupMemberList', GroupMemberList: 'GroupMemberList',
GroupRoomList: 'GroupRoomList', GroupRoomList: 'GroupRoomList',