mirror of
https://github.com/moparisthebest/mail
synced 2024-11-23 01:12:19 -05:00
check subject during sync
This commit is contained in:
parent
c0203bb1f6
commit
5c7eb7052d
@ -331,7 +331,7 @@ define(function(require) {
|
||||
|
||||
// find encrypted messages by subject
|
||||
emails.forEach(function(i) {
|
||||
if (i.subject.indexOf(str.subjectPrefix) !== -1) {
|
||||
if (typeof i.subject === 'string' && i.subject.indexOf(str.subjectPrefix) !== -1) {
|
||||
headers.push(i);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user