Skip to content

Commit 7ccafd4

Browse files
committed
rename to-device ffi filter to match declaration
1 parent 67b0cf0 commit 7ccafd4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,7 @@ 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-
},
324+
WidgetEventFilter::ToDevice { event_type: "io.element.call.encryption_keys".to_owned() },
327325
// TODO change this to the appropriate to-device version once ready
328326
// remove this once all calling supports to-device encryption
329327
WidgetEventFilter::MessageLikeWithType {

0 commit comments

Comments
 (0)