Fix Calendar: Scheduling invitations on a shared, non-owned calendar fail with MAIL FROM unauthorized

This commit is contained in:
Maurus Decimus
2026-07-19 12:19:50 +02:00
parent 18dbbda298
commit 6076659e4d
6 changed files with 65 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ impl CalendarEventSet for Server {
)
.await?;
let account_info = self
.account_info(access_token.account_id())
.scheduling_account_info(access_token.account_id(), account_id)
.await
.caused_by(trc::location!())?;
let mut response = SetResponse::from_request(&request, self.core.jmap.set_max_objects)?;