1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-09-12 02:51:59 +03:00

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

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,