If ToS gets rejected/any Scalar error then don't make Jitsi widget
This commit is contained in:
parent
2bdd27938a
commit
8eefb5bf02
1 changed files with 1 additions and 3 deletions
|
@ -387,7 +387,7 @@ async function _startCallApp(roomId, type) {
|
||||||
// work for us. Better that the user knows before everyone else in the
|
// work for us. Better that the user knows before everyone else in the
|
||||||
// room sees it.
|
// room sees it.
|
||||||
const managers = IntegrationManagers.sharedInstance();
|
const managers = IntegrationManagers.sharedInstance();
|
||||||
let haveScalar = true;
|
let haveScalar = false;
|
||||||
if (managers.hasManager()) {
|
if (managers.hasManager()) {
|
||||||
try {
|
try {
|
||||||
const scalarClient = managers.getPrimaryManager().getScalarClient();
|
const scalarClient = managers.getPrimaryManager().getScalarClient();
|
||||||
|
@ -396,8 +396,6 @@ async function _startCallApp(roomId, type) {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
haveScalar = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!haveScalar) {
|
if (!haveScalar) {
|
||||||
|
|
Loading…
Reference in a new issue