Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Jun 6, 2024
1 parent a5d40ba commit 32fea6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bindings/matrix-sdk-ffi/src/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,15 @@ pub fn get_element_call_required_permissions(own_user_id: String) -> WidgetCapab

WidgetCapabilities {
read: vec![
// TODO: we really should not have this permission in here, since it is not used anymore.
// The only reason `org.matrix.msc3401.call` is still here is to not break current EC deployments.
// (EC still expects to get this permission even though its not using it.)
// https://github.com/element-hq/element-call/pull/2399 needs to be merged and deployed
// TODO: we really should not have this permission in here, since it is not used
// anymore. The only reason `org.matrix.msc3401.call` is still here is to
// not break current EC deployments. (EC still expects to get this
// permission even though its not using it.) https://github.com/element-hq/element-call/pull/2399 needs to be merged and deployed
WidgetEventFilter::StateWithType { event_type: "org.matrix.msc3401.call".to_owned() },
WidgetEventFilter::StateWithType { event_type: StateEventType::CallMember.to_string() },
WidgetEventFilter::StateWithType { event_type: StateEventType::RoomMember.to_string() },
WidgetEventFilter::StateWithType {
event_type: StateEventType::RoomEncryption.to_owned(),
event_type: StateEventType::RoomEncryption.to_string(),
},
WidgetEventFilter::MessageLikeWithType {
event_type: "org.matrix.rageshake_request".to_owned(),
Expand Down

0 comments on commit 32fea6b

Please sign in to comment.