Add tuta-sdk as submodule, use SDK blob reading API

- Add tuta-repo as git submodule pointing to spartanz51/tutanota
  branch feat/rust-sdk-blob-read (pending upstream PR)
- Remove inline load_mail_details_blob hack, call through
  mail_facade().load_mail_details_blob() instead
- Remove /tuta-repo from .gitignore since it's now a submodule
This commit is contained in:
Anthony
2026-05-21 13:11:53 +02:00
parent 8595aedfad
commit 128772bb21
4 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ impl TutaSession {
mail: &Mail,
) -> Result<Option<MailDetailsBlob>, ApiCallError> {
if mail.mailDetails.is_some() {
let blob = self.logged_in.load_mail_details_blob(mail).await?;
let blob = self.logged_in.mail_facade().load_mail_details_blob(mail).await?;
Ok(Some(blob))
} else {
Ok(None)