Skip to content

Commit

Permalink
Address Lint Findings
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieobject committed Apr 12, 2024
1 parent 2c1ee21 commit 7ffe57c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bindings_ffi/src/mls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,7 @@ impl FfiGroup {
}

pub fn added_by_address(&self) -> Option<String> {
match &self.added_by {
Some(member) => Some(member.account_address.clone()),
None => None,
}
self.added_by.as_ref().map(|member| member.account_address.clone())
}

pub fn find_messages(
Expand Down

0 comments on commit 7ffe57c

Please sign in to comment.