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

Signed-off-by: Timo K <toger5@hotmail.de>
t3chguy/dedup-icons-17oct
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
1 changed files with 3 additions and 0 deletions

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,