aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brunschwig <[email protected]>2021-01-08 07:59:55 +0100
committerPatrick Brunschwig <[email protected]>2021-01-08 07:59:55 +0100
commit2ea64426067ecb3b956edcbc4c753adaa72286f2 (patch)
treedbf91073d7623ae2fa1ca2a5ab8b76cd7aa77dcb
parent084b0fc7114bc90139ad8b8e786f830777c38413 (diff)
downloadenigmail-2.1-branch.tar.gz
enigmail-2.1-branch.tar.bz2
enigmail-2.1-branch.zip
destFolder is string nor objectenigmail-2.1-branch
-rw-r--r--package/persistentCrypto.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/persistentCrypto.jsm b/package/persistentCrypto.jsm
index c5eed6a6..17f4c316 100644
--- a/package/persistentCrypto.jsm
+++ b/package/persistentCrypto.jsm
@@ -907,7 +907,7 @@ CryptMessageIntoFolder.prototype = {
newKey = key;
},
applyFlags: function() {
- let newHdr = self.destFolder.GetMessageHeader(newKey);
+ let newHdr = EnigmailCompat.getExistingFolder(self.destFolder).GetMessageHeader(newKey);
newHdr.markRead(self.hdr.isRead);
newHdr.markFlagged(self.hdr.isFlagged);
newHdr.subject = self.hdr.subject;