Update all modules to use registry - part 4

This commit is contained in:
mdecimus
2026-02-13 22:58:18 +00:00
parent f7c2fe10c1
commit 726e8d9c79
47 changed files with 791 additions and 478 deletions

View File

@@ -367,7 +367,11 @@ impl CalendarEventNotificationHandler for Server {
let mut response = ScheduleResponse::default();
for (email, attendee) in attendees {
if let Some(account_id) = self.account_id(&email).await.caused_by(trc::location!())? {
if let Some(account_id) = self
.account_id_from_email(&email, false)
.await
.caused_by(trc::location!())?
{
let resources = self
.fetch_dav_resources(
access_token.account_id(),

View File

@@ -91,7 +91,7 @@ impl DavUriResource for Server {
.map_err(|_| DavError::Code(error_status))?
} else {
let account = decode_path_element(account);
self.account_id(&account)
self.account_id_from_email(&account, false)
.await
.caused_by(trc::location!())?
.ok_or(DavError::Code(error_status))?