Move the safety number viewer into modal
This commit is contained in:
parent
8c34d6ebc2
commit
048e1e4cd7
14 changed files with 132 additions and 167 deletions
|
@ -2125,10 +2125,9 @@ export class ConversationView extends window.Backbone.View<ConversationModel> {
|
|||
conversation = window.ConversationController.get(id);
|
||||
}
|
||||
if (conversation) {
|
||||
const view = new Whisper.KeyVerificationPanelView({
|
||||
model: conversation,
|
||||
});
|
||||
this.listenBack(view);
|
||||
window.reduxActions.globalModals.toggleSafetyNumberModal(
|
||||
conversation.get('id')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue