mirror of https://github.com/vector-im/riot-web
Support for embedded E2EE (#11492)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/28788/head^2
parent
aaea42c626
commit
af268b4a03
|
@ -654,6 +654,7 @@ export class ElementCall extends Call {
|
||||||
analyticsID,
|
analyticsID,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (client.isRoomEncrypted(groupCall.room.roomId)) params.append("perParticipantE2EE", "");
|
||||||
if (SettingsStore.getValue("fallbackICEServerAllowed")) params.append("allowIceFallback", "");
|
if (SettingsStore.getValue("fallbackICEServerAllowed")) params.append("allowIceFallback", "");
|
||||||
if (SettingsStore.getValue("feature_allow_screen_share_only_mode")) params.append("allowVoipWithNoMedia", "");
|
if (SettingsStore.getValue("feature_allow_screen_share_only_mode")) params.append("allowVoipWithNoMedia", "");
|
||||||
|
|
||||||
|
|
|
@ -149,6 +149,12 @@ export class StopGapWidgetDriver extends WidgetDriver {
|
||||||
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call.member").raw,
|
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call.member").raw,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const sendRecvRoomEvents = ["io.element.call.encryption_key"];
|
||||||
|
for (const eventType of sendRecvRoomEvents) {
|
||||||
|
this.allowedCapabilities.add(WidgetEventCapability.forRoomEvent(EventDirection.Send, eventType).raw);
|
||||||
|
this.allowedCapabilities.add(WidgetEventCapability.forRoomEvent(EventDirection.Receive, eventType).raw);
|
||||||
|
}
|
||||||
|
|
||||||
const sendRecvToDevice = [
|
const sendRecvToDevice = [
|
||||||
EventType.CallInvite,
|
EventType.CallInvite,
|
||||||
EventType.CallCandidates,
|
EventType.CallCandidates,
|
||||||
|
|
Loading…
Reference in New Issue