Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add EventType.RoomEncryption to the auto approve capabilities of El…
Browse files Browse the repository at this point in the history
…ement Call widgets (#12386)

Signed-off-by: Timo K <[email protected]>
  • Loading branch information
toger5 authored Apr 2, 2024
1 parent 4ae94ae commit d9c7bd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stores/widgets/StopGapWidgetDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d9c7bd1

Please sign in to comment.