From 75b0ae32a074b9a1882b55ad985b1be57ccf7db1 Mon Sep 17 00:00:00 2001 From: Schmiddiii Date: Sat, 18 Nov 2023 14:55:12 +0100 Subject: [PATCH] Publish ACI --- presage/src/manager/registered.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/presage/src/manager/registered.rs b/presage/src/manager/registered.rs index d36759268..d33b80446 100644 --- a/presage/src/manager/registered.rs +++ b/presage/src/manager/registered.rs @@ -993,6 +993,11 @@ impl Manager { Ok(self.identified_push_service().devices().await?) } + /// Return the ACI of the registered account. + pub fn aci(&self) -> Uuid { + self.state.data.service_ids.aci + } + /// Deprecated methods /// Get a single contact by its UUID