Allow jitsi in e2e rooms
We have a separate warning about how widgets are not very e2e, so this should be sufficient warning.
This commit is contained in:
parent
6f278ceab0
commit
bd3dd9aafc
1 changed files with 14 additions and 14 deletions
|
@ -301,6 +301,9 @@ function _onAction(payload) {
|
|||
case 'place_conference_call':
|
||||
console.log("Place conference call in %s", payload.room_id);
|
||||
|
||||
if (SettingsStore.isFeatureEnabled('feature_jitsi')) {
|
||||
_startCallApp(payload.room_id, payload.type);
|
||||
} else {
|
||||
if (MatrixClientPeg.get().isRoomEncrypted(payload.room_id)) {
|
||||
// Conference calls are implemented by sending the media to central
|
||||
// server which combines the audio from all the participants together
|
||||
|
@ -315,9 +318,6 @@ function _onAction(payload) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (SettingsStore.isFeatureEnabled('feature_jitsi')) {
|
||||
_startCallApp(payload.room_id, payload.type);
|
||||
} else {
|
||||
if (!ConferenceHandler) {
|
||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
Modal.createTrackedDialog('Call Handler', 'Conference call unsupported client', ErrorDialog, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue