Skip to content

Commit

Permalink
Inluding quoted messages when exporting for preservation (settig
Browse files Browse the repository at this point in the history
stripQuoted to false)
  • Loading branch information
jfarwer committed Jun 20, 2022
1 parent 323eff1 commit 80213d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/edu/stanford/muse/index/Archive.java
Expand Up @@ -2641,7 +2641,7 @@ public JSONObject generateExportableAssetsNormalizedMbox(String targetExportable
EmailDocument ed = (EmailDocument) d;
// if includeRestricted is set to false, need filter out those labelled with DNT labels
if (includeRestricted || !getLabelIDs(ed).contains(LabelManager.LABELID_DNT))
EmailUtils.printToMbox(this, ed, pw, getBlobStore(), true);
EmailUtils.printToMbox(this, ed, pw, getBlobStore(), false);

}
// if includeDuplicated is set to true, need perform deduplication
Expand All @@ -2652,7 +2652,7 @@ public JSONObject generateExportableAssetsNormalizedMbox(String targetExportable

if (aSourceFolder.equals(s.getFirst())){
System.out.println("generateExportableAssetsNormalizedMbox: Deduplicate for this email document: "+ deduplicate.getUniqueId());
EmailUtils.printToMbox(this, (EmailDocument) deduplicate, pw, getBlobStore(), true);
EmailUtils.printToMbox(this, (EmailDocument) deduplicate, pw, getBlobStore(), false);
}
}
}
Expand Down

0 comments on commit 80213d2

Please sign in to comment.