mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user