diff --git a/openmls/src/extensions/test_extensions.rs b/openmls/src/extensions/test_extensions.rs index 9be83bee15..dfef65036a 100644 --- a/openmls/src/extensions/test_extensions.rs +++ b/openmls/src/extensions/test_extensions.rs @@ -484,7 +484,7 @@ fn last_resort_extension(ciphersuite: Ciphersuite, provider: &impl OpenMlsProvid let welcome: MlsMessageIn = welcome.into(); let welcome = welcome.into_welcome().expect("expected a welcome"); - let _bob_group = StagedWelcome::new_from_welcome( + let bob_group = StagedWelcome::new_from_welcome( provider, mls_group_create_config.join_config(), welcome, diff --git a/openmls/src/group/core_group/mod.rs b/openmls/src/group/core_group/mod.rs index 23d6a28ea3..d1d4dddccd 100644 --- a/openmls/src/group/core_group/mod.rs +++ b/openmls/src/group/core_group/mod.rs @@ -604,6 +604,10 @@ impl CoreGroup { self.public_group.group_context() } + pub fn group_context_extensions(&self) -> &Extensions { + self.context().extensions() + } + /// Get the group ID pub(crate) fn group_id(&self) -> &GroupId { self.public_group.group_id()