Update all modules to use registry - part 1

This commit is contained in:
mdecimus
2026-02-09 18:57:48 +01:00
parent 2dc0776109
commit cc88715013
174 changed files with 1844 additions and 1924 deletions

View File

@@ -181,7 +181,7 @@ pub(super) async fn build_scheduling_resources(
.caused_by(trc::location!())?
.unwrap_or_default();
let account_info = server.account_info(account_id).await?;
let account_info = server.account(account_id).await?;
let item_ids = server
.itip_ids(account_id)
.await

View File

@@ -31,7 +31,7 @@ pub(super) async fn build_file_resources(
.await
.caused_by(trc::location!())?
.unwrap_or_default();
let account_info = server.account_info(account_id).await?;
let account_info = server.account(account_id).await?;
let mut resources = Vec::with_capacity(16);
server

View File

@@ -496,13 +496,13 @@ impl ItipIngest for Server {
if did_change {
// Prepare write batch
let account_info = self
.account_info(rsvp.account_id)
.account(rsvp.account_id)
.await
.caused_by(trc::location!())?;
let mut batch = BatchBuilder::new();
new_event
.update(
account_info.account_tenant_ids(),
account_info.account_tenant_ids(rsvp.account_id),
event,
rsvp.account_id,
rsvp.document_id,

View File

@@ -134,10 +134,10 @@ impl ItipAutoExpunge for Server {
// Tombstone messages
let mut batch = BatchBuilder::new();
let changed_by = self
.account_info(account_id)
.account(account_id)
.await
.caused_by(trc::location!())?
.account_tenant_ids();
.account_tenant_ids(account_id);
for document_id in destroy_ids {
// Fetch event