Skip to content

Commit eefa9ff

Browse files
fkwpandybalaam
authored andcommitted
added comments including reference to MSCs
1 parent 28a8603 commit eefa9ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ pub fn get_element_call_required_permissions(
220220
event_type: StateEventType::CallMember.to_string(),
221221
state_key: format!("{own_user_id}_{own_device_id}"),
222222
},
223+
// Same as above for [MSC3779] and [MSC4143](https://github.com/matrix-org/matrix-spec-proposals/pull/4143),
224+
// with application suffix
223225
WidgetEventFilter::StateWithTypeAndStateKey {
224226
event_type: StateEventType::CallMember.to_string(),
225227
state_key: format!("{own_user_id}_{own_device_id}_m.call"),
@@ -231,6 +233,7 @@ pub fn get_element_call_required_permissions(
231233
event_type: StateEventType::CallMember.to_string(),
232234
state_key: format!("_{own_user_id}_{own_device_id}"),
233235
},
236+
// Same as above for [MSC4143], with application suffix
234237
WidgetEventFilter::StateWithTypeAndStateKey {
235238
event_type: StateEventType::CallMember.to_string(),
236239
state_key: format!("_{own_user_id}_{own_device_id}_m.call"),

0 commit comments

Comments
 (0)