Skip to content

Commit

Permalink
Expose proposal_ref from the output of proposal processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Marta Mularczyk committed Jan 10, 2024
1 parent f06b23e commit bec4062
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mls-rs/src/group/message_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ impl ProposalMessageDescription {
sender,
}
}

pub fn proposal_ref(&self) -> Vec<u8> {
self.proposal_ref.to_vec()
}
}

#[cfg(not(feature = "by_ref_proposal"))]
Expand Down

0 comments on commit bec4062

Please sign in to comment.