From 333b3c20911d8825090318e7fea50912263aba93 Mon Sep 17 00:00:00 2001 From: cameronvoell Date: Fri, 20 Sep 2024 17:13:06 -0700 Subject: [PATCH] fixed bad merge --- xmtp_mls/src/groups/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmtp_mls/src/groups/mod.rs b/xmtp_mls/src/groups/mod.rs index 66c094368..6b4136ea3 100644 --- a/xmtp_mls/src/groups/mod.rs +++ b/xmtp_mls/src/groups/mod.rs @@ -431,6 +431,7 @@ impl MlsGroup { added_by_inbox, welcome_id, Purpose::Conversation, + dm_inbox_id ) } ConversationType::Sync => StoredGroup::new_from_welcome( @@ -1112,7 +1113,7 @@ impl MlsGroup { let mutable_metadata = custom_mutable_metadata.unwrap_or_else(|| { build_dm_mutable_metadata_extension_default( context.inbox_id(), - dm_target_inbox_id.clone(), + &dm_target_inbox_id, ) .unwrap() }); @@ -1145,6 +1146,7 @@ impl MlsGroup { now_ns(), GroupMembershipState::Allowed, // Use Allowed as default for tests context.inbox_id(), + Some(dm_target_inbox_id), ); stored_group.store(provider.conn_ref())?;