mirror of https://github.com/vector-im/riot-web
Merge pull request #3569 from matrix-org/t3chguy/CallHandler_fail_ToS
If ToS gets rejected/any Scalar error then don't make Jitsi widgetpull/21833/head
commit
89e69ddb0a
|
@ -387,7 +387,7 @@ async function _startCallApp(roomId, type) {
|
|||
// work for us. Better that the user knows before everyone else in the
|
||||
// room sees it.
|
||||
const managers = IntegrationManagers.sharedInstance();
|
||||
let haveScalar = true;
|
||||
let haveScalar = false;
|
||||
if (managers.hasManager()) {
|
||||
try {
|
||||
const scalarClient = managers.getPrimaryManager().getScalarClient();
|
||||
|
@ -396,8 +396,6 @@ async function _startCallApp(roomId, type) {
|
|||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
} else {
|
||||
haveScalar = false;
|
||||
}
|
||||
|
||||
if (!haveScalar) {
|
||||
|
|
Loading…
Reference in New Issue