allow call widget to send call notification event

This commit is contained in:
Ajay Bura
2026-04-27 20:15:25 +05:30
parent c7c7f1ab42
commit 084d442afa
2 changed files with 1 additions and 10 deletions
-3
View File
@@ -104,9 +104,6 @@ export class CallEmbed {
theme: themeKind,
header: 'none',
});
if (CallEmbed.startingDMCall(intent)) {
params.append('sendNotificationType', 'ring');
}
const widgetUrl = new URL(
`${trimTrailingSlash(import.meta.env.BASE_URL)}/public/element-call/index.html`,
+1 -7
View File
@@ -78,19 +78,13 @@ export function getCallCapabilities(
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomCreate).raw
);
capabilities.add(
WidgetEventCapability.forRoomEvent(
EventDirection.Receive,
'org.matrix.msc4075.rtc.notification'
).raw
);
[
'io.element.call.encryption_keys',
'org.matrix.rageshake_request',
EventType.Reaction,
EventType.RoomRedaction,
'io.element.call.reaction',
'org.matrix.msc4075.rtc.notification',
'org.matrix.msc4310.rtc.decline',
].forEach((type) => {
capabilities.add(WidgetEventCapability.forRoomEvent(EventDirection.Send, type).raw);