From 2812e662ee295edff4ab8e926d1af1e23b738d69 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 2 Apr 2024 23:12:47 +0200 Subject: [PATCH] Add `EventType.RoomEncryption` to the auto approve capabilities of Element Call widgets Signed-off-by: Timo K --- src/stores/widgets/StopGapWidgetDriver.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stores/widgets/StopGapWidgetDriver.ts b/src/stores/widgets/StopGapWidgetDriver.ts index 905b2c151c7..248c520ddd5 100644 --- a/src/stores/widgets/StopGapWidgetDriver.ts +++ b/src/stores/widgets/StopGapWidgetDriver.ts @@ -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,