mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-19 12:41:24 +02:00
Merge pull request #2075 from matrix-org/dbkr/allow_jitsi_in_e2e_rooms
Allow jitsi in e2e rooms
This commit is contained in:
commit
a8a40f1514
@ -301,6 +301,9 @@ function _onAction(payload) {
|
|||||||
case 'place_conference_call':
|
case 'place_conference_call':
|
||||||
console.log("Place conference call in %s", payload.room_id);
|
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)) {
|
if (MatrixClientPeg.get().isRoomEncrypted(payload.room_id)) {
|
||||||
// Conference calls are implemented by sending the media to central
|
// Conference calls are implemented by sending the media to central
|
||||||
// server which combines the audio from all the participants together
|
// server which combines the audio from all the participants together
|
||||||
@ -315,9 +318,6 @@ function _onAction(payload) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SettingsStore.isFeatureEnabled('feature_jitsi')) {
|
|
||||||
_startCallApp(payload.room_id, payload.type);
|
|
||||||
} else {
|
|
||||||
if (!ConferenceHandler) {
|
if (!ConferenceHandler) {
|
||||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||||
Modal.createTrackedDialog('Call Handler', 'Conference call unsupported client', ErrorDialog, {
|
Modal.createTrackedDialog('Call Handler', 'Conference call unsupported client', ErrorDialog, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user