Commits

dmose  committed 90b6f20

Fix to generation to be less broken and not trigger a GlodDa contact.localeCompare bug

  • Participants
  • Parent commits c42bdc0

Comments (0)

Files changed (1)

File packages/facescrape/lib/main.js

       msgObj.from = msg.author.name;
       msgObj.subject = threadData.subject; 
       msgObj.date = msg.time_rendered;
-      //msgObj.generateToHeader(threaddata.recipients);
-      msgObj.to = threadData.recipients.join(",");
+      msgObj.to = threadData.recipients.map(
+        function(r) { return r + "@facescrape.invalid"; }
+        ).join(", ");
       msgObj.references = references;
         
       msgObj.id = sha1.b64_sha1(msgObj.body + msgObj.date) +