From 6a08a25a573de74d36820a57ced1cf3485cab350 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 15 Jul 2015 23:57:02 -0600 Subject: [PATCH] * Mostly notes --- core/ftn_mail_packet.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/ftn_mail_packet.js b/core/ftn_mail_packet.js index eb7e4a70..09ff6f52 100644 --- a/core/ftn_mail_packet.js +++ b/core/ftn_mail_packet.js @@ -118,6 +118,10 @@ function FTNMailPacket(options) { }; self.getMessageMeta = function(msgData) { + Object.keys(msgData.kludgeLines).forEach(function kludgeName(kn) { + + }); + return {}; // :TODO: convert msgData kludges/etc. -> Message meta }; @@ -210,7 +214,8 @@ function FTNMailPacket(options) { } // buffer to string conversion - // :TODO: What is the real encoding here? + // :TODO: What is the real encoding here? ... like messages, may need to look at various + // specs for encoding but default to ASCII? [ 'modDateTime', 'toUserName', 'fromUserName', 'subject', ].forEach(function field(f) { msgData[f] = msgData[f].toString(); }); @@ -220,6 +225,7 @@ function FTNMailPacket(options) { // Now, create a Message object // var msg = new Message( { + // :TODO: areaId needs to be looked up via AREA line - may need a 1:n alias -> area ID lookup toUserName : msgData.toUserName, fromUserName : msgData.fromUserName, subject : msgData.subject,