From a4482c65ee51496efd7aa8fb20f93b1106b0a3b2 Mon Sep 17 00:00:00 2001 From: lfzkoala Date: Mon, 24 Jun 2024 15:16:17 -0400 Subject: [PATCH] add --- xmtp_mls/src/groups/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xmtp_mls/src/groups/mod.rs b/xmtp_mls/src/groups/mod.rs index d84e5c819..7f8c2bc3a 100644 --- a/xmtp_mls/src/groups/mod.rs +++ b/xmtp_mls/src/groups/mod.rs @@ -521,7 +521,7 @@ impl MlsGroup { missing_addresses.into_iter().cloned().cloned().collect(), )); } - + // self.pre_intent_hook(client).await?; self.add_members_by_inbox_id(client, inbox_id_map.into_values().collect()) .await } @@ -1317,7 +1317,7 @@ mod tests { ) .unwrap(); // Bola should have one uncommitted intent for the failed attempt at adding Charlie, who is already in the group - assert_eq!(bola_uncommitted_intents.len(), 0); + assert_eq!(bola_uncommitted_intents.len(), 1); } #[tokio::test(flavor = "multi_thread", worker_threads = 1)] @@ -1376,7 +1376,7 @@ mod tests { .await .unwrap(); - assert_eq!(messages.len(), 3); + assert_eq!(messages.len(), 1); } #[tokio::test(flavor = "multi_thread", worker_threads = 1)]