Skip to content

Commit d3d8912

Browse files
committed
Allow new state key string-packing format for widget mode
1 parent d13c5af commit d3d8912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/widget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export const widget = ((): WidgetHelpers | null => {
120120

121121
const sendState = [
122122
userId, // Legacy call membership events
123-
`_${userId}_${deviceId}`, // Session membership events
124-
`${userId}_${deviceId}`, // The above with no leading underscore, for room versions whose auth rules allow it
123+
`_${userId}_${deviceId}_m.call`, // Session membership events
124+
`${userId}_${deviceId}_m.call`, // The above with no leading underscore, for room versions whose auth rules allow it
125125
].map((stateKey) => ({
126126
eventType: EventType.GroupCallMemberPrefix,
127127
stateKey,

0 commit comments

Comments
 (0)