Skip to content

Commit aa35aad

Browse files
committed
WidgetDriver: Add io.element.call.encryption_keys to-device capability.
This needs to be part of the send/read capabilities so that to-device keys can be used.
1 parent 35199a7 commit aa35aad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bindings/matrix-sdk-ffi/src/widget.rs

+2
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,9 @@ pub fn get_element_call_required_permissions(
321321
event_type: "org.matrix.rageshake_request".to_owned(),
322322
},
323323
// To read and send encryption keys
324+
WidgetEventFilter::ToDevice { event_type: "io.element.call.encryption_keys".to_owned() },
324325
// TODO change this to the appropriate to-device version once ready
326+
// remove this once all matrixRTC call apps supports to-device encryption.
325327
WidgetEventFilter::MessageLikeWithType {
326328
event_type: "io.element.call.encryption_keys".to_owned(),
327329
},

0 commit comments

Comments
 (0)