Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jun 28, 2024
1 parent 42222d4 commit d463747
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,7 @@ impl MlsGroup {
let intent_data: Vec<u8> = UpdatePermissionIntentData::new(
permission_update_type,
permission_policy,
metadata_field
.as_ref()
.map_or(None, |field| Some(field.to_string())),
metadata_field.as_ref().map(|field| field.to_string()),
)
.into();

Expand Down

0 comments on commit d463747

Please sign in to comment.