diff --git a/.gitignore b/.gitignore index 70fdea0..ea8c4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /target -/tuta-repo diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..84edd70 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "tuta-repo"] + path = tuta-repo + url = https://github.com/spartanz51/tutanota.git + branch = feat/rust-sdk-blob-read diff --git a/src/tuta.rs b/src/tuta.rs index aa72cee..7cd7681 100644 --- a/src/tuta.rs +++ b/src/tuta.rs @@ -85,7 +85,7 @@ impl TutaSession { mail: &Mail, ) -> Result, 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) diff --git a/tuta-repo b/tuta-repo new file mode 160000 index 0000000..e61ea25 --- /dev/null +++ b/tuta-repo @@ -0,0 +1 @@ +Subproject commit e61ea250586bfe7075d799fc76c3d869add5afb1