Make Element Call widgets compatible with Matrix 2.0 mode

This gives Element Call widgets the ability to send and receive sticky RTC membership events.
This commit is contained in:
Robin
2026-01-16 18:26:21 +01:00
parent 3eb88ec4a8
commit d516f0f602
4 changed files with 16 additions and 13 deletions

View File

@@ -106,6 +106,7 @@ export const widget = ((): WidgetHelpers | null => {
EventType.RoomRedaction,
ElementCallReactionEventType,
EventType.RTCDecline,
EventType.RTCMembership,
];
const sendState = [
@@ -150,6 +151,8 @@ export const widget = ((): WidgetHelpers | null => {
turnServers: false,
sendDelayedEvents: true,
updateDelayedEvents: true,
sendSticky: true,
receiveSticky: true,
},
roomId,
{