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:
parent
4ae94ae247
commit
d9c7bd16b5
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ export class StopGapWidgetDriver extends WidgetDriver {
|
||||||
this.allowedCapabilities.add(
|
this.allowedCapabilities.add(
|
||||||
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call").raw,
|
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call").raw,
|
||||||
);
|
);
|
||||||
|
this.allowedCapabilities.add(
|
||||||
|
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomEncryption).raw,
|
||||||
|
);
|
||||||
this.allowedCapabilities.add(
|
this.allowedCapabilities.add(
|
||||||
WidgetEventCapability.forStateEvent(
|
WidgetEventCapability.forStateEvent(
|
||||||
EventDirection.Send,
|
EventDirection.Send,
|
||||||
|
|
Loading…
Reference in a new issue