Skip to content

Commit

Permalink
only return the public installation id for this client
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Mar 29, 2024
1 parent d9b67d8 commit 3424b65
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bindings_ffi/src/mls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,8 @@ impl FfiXmtpClient {
Ok(results)
}

pub async fn installation_ids(&self) -> Result<Vec<Vec<u8>>, GenericError> {
let address = self.inner_client.account_address();
let installations = self.inner_client.get_all_active_installation_ids(vec![address]).await?;

Ok(installations)
pub fn installation_id(&self) -> Vec<u8> {
self.inner_client.installation_public_key()
}
}

Expand Down

0 comments on commit 3424b65

Please sign in to comment.