Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Jan 17, 2020
1 parent a73b722 commit 716c8ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/views/messages/MKeyVerificationRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion src/components/views/toasts/VerificationRequestToast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion src/stores/RightPanelStorePhases.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 716c8ba

Please sign in to comment.