diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-02-21 19:58:16 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-02-21 19:58:16 +0100 |
commit | c17501e22d1950c9da41db8e24187ba8c4da2e3f (patch) | |
tree | 29ae6ef280681cdf4b9bb5fe941c5e8c2022f443 | |
parent | af78c9eff9aba4726ae65ee4f3f1a8f26e29753f (diff) |
Revert "TMP"
This reverts commit af78c9eff9aba4726ae65ee4f3f1a8f26e29753f.
-rw-r--r-- | lib/domain/libimagmail/src/mail.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/domain/libimagmail/src/mail.rs b/lib/domain/libimagmail/src/mail.rs index dcefe199..89553791 100644 --- a/lib/domain/libimagmail/src/mail.rs +++ b/lib/domain/libimagmail/src/mail.rs @@ -283,14 +283,7 @@ impl ParsedMail { } pub fn get_parent<'a>(&self, store: &'a MailStoreWithConnection<'a>) -> Result<Option<FileLockEntry<'a>>> { - use libimagstore::storeid::StoreId; - if let Some(in_reply_to) = self.in_reply_to()? { - let sid = StoreId::new(PathBuf::from(&in_reply_to))?; - if store.is_borrowed(sid)? { - return Ok(None) - } - store.get_mail_by_id(&in_reply_to) } else { Ok(None) // No parent |