Add EventType.RoomEncryption to the auto approve capabilities of Element Call widgets (#12386)

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo 2024-04-03 00:18:28 +02:00 committed by GitHub
parent 4ae94ae247
commit d9c7bd16b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,6 +141,9 @@ export class StopGapWidgetDriver extends WidgetDriver {
this.allowedCapabilities.add(
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call").raw,
);
this.allowedCapabilities.add(
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomEncryption).raw,
);
this.allowedCapabilities.add(
WidgetEventCapability.forStateEvent(
EventDirection.Send,