Rename the per-participant e2ee keys event (#11783)

From the department of single-byte PRs.

I reanmed this in the branch because it now contains multiple keys.
pull/28788/head^2
David Baker 2023-10-20 21:21:27 +01:00 committed by GitHub
parent 21dc26f725
commit 2173705ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ export class StopGapWidgetDriver extends WidgetDriver {
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call.member").raw,
);
const sendRecvRoomEvents = ["io.element.call.encryption_key"];
const sendRecvRoomEvents = ["io.element.call.encryption_keys"];
for (const eventType of sendRecvRoomEvents) {
this.allowedCapabilities.add(WidgetEventCapability.forRoomEvent(EventDirection.Send, eventType).raw);
this.allowedCapabilities.add(WidgetEventCapability.forRoomEvent(EventDirection.Receive, eventType).raw);