mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
stick to IncomingSasDialog as VerificationRequestDialog doesn't show sender yet, makes e2e tests fail
This commit is contained in:
parent
f8ef5bb6a5
commit
b0617f10e8
1 changed files with 4 additions and 4 deletions
|
@ -1503,10 +1503,10 @@ export default createReactClass({
|
|||
return;
|
||||
}
|
||||
|
||||
if (request.started) {
|
||||
const VerificationRequestDialog = sdk.getComponent("views.dialogs.VerificationRequestDialog");
|
||||
Modal.createTrackedDialog('Incoming Verification', '', VerificationRequestDialog, {
|
||||
verificationRequest: request,
|
||||
if (request.verifier) {
|
||||
const IncomingSasDialog = sdk.getComponent("views.dialogs.IncomingSasDialog");
|
||||
Modal.createTrackedDialog('Incoming Verification', '', IncomingSasDialog, {
|
||||
verifier: request.verifier,
|
||||
}, null, /* priority = */ false, /* static = */ true);
|
||||
} else if (request.pending) {
|
||||
ToastStore.sharedInstance().addOrReplaceToast({
|
||||
|
|
Loading…
Reference in a new issue