Skip to content

Commit

Permalink
chore: finish
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonThormeyer committed Jun 21, 2024
1 parent 7cc7800 commit 21a83e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openmls/src/group/mls_group/membership.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ use crate::{
storage::OpenMlsProvider, treesync::LeafNode,
};

#[cfg_attr(feature = "async", maybe_async::must_be_async)]
#[cfg_attr(not(feature = "async"), maybe_async::must_be_sync)]
impl MlsGroup {
/// Adds members to the group.
///
Expand Down
2 changes: 2 additions & 0 deletions openmls/src/group/mls_group/proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ macro_rules! impl_propose_fun {
/// Creates proposals to add an external PSK to the key schedule.
///
/// Returns an error if there is a pending commit.
#[cfg_attr(feature = "async", maybe_async::must_be_async)]
#[cfg_attr(not(feature = "async"), maybe_async::must_be_sync)]
pub async fn $name<Provider: OpenMlsProvider>(
&mut self,
provider: &Provider,
Expand Down

0 comments on commit 21a83e5

Please sign in to comment.