spell out that conference calling is hit and miss
This commit is contained in:
parent
cbfb0ad998
commit
6632322029
1 changed files with 18 additions and 6 deletions
|
@ -250,12 +250,24 @@ function _onAction(payload) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ConferenceHandler.createNewMatrixCall(
|
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
MatrixClientPeg.get(), payload.room_id
|
Modal.createDialog(QuestionDialog, {
|
||||||
).done(function(call) {
|
title: "Warning!",
|
||||||
placeCall(call);
|
description: "Conference calling in Vector is in development and may not be reliable.",
|
||||||
}, function(err) {
|
onFinished: confirm=>{
|
||||||
console.error("Failed to setup conference call: %s", err);
|
if (confirm) {
|
||||||
|
ConferenceHandler.createNewMatrixCall(
|
||||||
|
MatrixClientPeg.get(), payload.room_id
|
||||||
|
).done(function(call) {
|
||||||
|
placeCall(call);
|
||||||
|
}, function(err) {
|
||||||
|
Modal.createDialog(ErrorDialog, {
|
||||||
|
title: "Failed to set up conference call",
|
||||||
|
description: "Conference call failed: " + err,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue