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.
This commit is contained in:
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

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);