From 44be43be989258a58553b68dd1cfcdf638ec60ab Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 21 Aug 2024 12:36:44 -0600 Subject: [PATCH] fix up the lint --- xmtp_mls/src/client.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xmtp_mls/src/client.rs b/xmtp_mls/src/client.rs index f2b842a3f..d12cdf7a2 100644 --- a/xmtp_mls/src/client.rs +++ b/xmtp_mls/src/client.rs @@ -587,7 +587,7 @@ where Ok(groups) } - pub async fn sync_all(&self, groups: Vec) -> Result<(), GroupError> { + pub async fn sync_all_groups(&self, groups: Vec) -> Result<(), GroupError> { // Acquire a single connection to be reused let conn = &self.store().conn()?; @@ -596,16 +596,16 @@ where log::info!("[{}] syncing group", &self.inbox_id()); log::info!( - "current epoch for [{}] in sync_all() is Epoch: [{}]", + "current epoch for [{}] in sync_all_groups() is Epoch: [{}]", &self.inbox_id(), group.load_mls_group(mls_provider.clone()).unwrap().epoch() ); group - .maybe_update_installations(conn.clone(), None, &self) + .maybe_update_installations(conn.clone(), None, self) .await?; - group.sync_with_conn(conn.clone(), &self).await?; + group.sync_with_conn(conn.clone(), self).await?; } Ok(()) @@ -843,7 +843,7 @@ mod tests { .await .unwrap(); - bo.sync_all(bo_groups).await.unwrap(); + bo.sync_all_groups(bo_groups).await.unwrap(); let bo_messages1 = bo_group1 .find_messages(None, None, None, None, None)