WIP: Lots of progress with QWK reader/writer

This commit is contained in:
Bryan Ashby 2020-04-25 11:25:47 -06:00
parent d8f0601914
commit 8a81b34ed0
No known key found for this signature in database
GPG key ID: B49EB437951D2542
3 changed files with 492 additions and 74 deletions

View file

@ -49,7 +49,8 @@ const SYSTEM_META_NAMES = {
const ADDRESS_FLAVOR = {
Local : 'local', // local / non-remote addressing
FTN : 'ftn', // FTN style
Email : 'email',
Email : 'email', // From email
QWK : 'qwk', // QWK packet
};
const STATE_FLAGS0 = {
@ -94,14 +95,6 @@ const QWKPropertyNames = {
InReplyToNum : 'qwk_in_reply_to_num', // note that we prefer the 'InReplyToMsgId' kludge if available
};
const QWKKludgeNames = {
Via : 'via',
MessageId : 'msg_id',
InReplyToMsgId : 'in_reply_to_msg_id',
SyncTZ : 'synchronet_timezone',
ReplyTo : 'reply_to',
};
// :TODO: this is a ugly hack due to bad variable names - clean it up & just _.camelCase(k)!
const MESSAGE_ROW_MAP = {
reply_to_message_id : 'replyToMsgId',