Skip to content

Commit ad770d9

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 ad770d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,11 @@ 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::ToDeviceWithType {
325+
event_type: "io.element.call.encryption_keys".to_owned(),
326+
},
324327
// TODO change this to the appropriate to-device version once ready
328+
// remove this once all matrixRTC call apps supports to-device encryption.
325329
WidgetEventFilter::MessageLikeWithType {
326330
event_type: "io.element.call.encryption_keys".to_owned(),
327331
},

0 commit comments

Comments
 (0)