From f963a7cbb3da48b9119532bc48cf73f5dd5a4354 Mon Sep 17 00:00:00 2001 From: s2 Date: Wed, 9 May 2018 15:31:07 +0200 Subject: [PATCH] add face header option --- lib/nntp.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/nntp.js b/lib/nntp.js index 052e5cd..0d54d63 100644 --- a/lib/nntp.js +++ b/lib/nntp.js @@ -650,6 +650,12 @@ NNTP.prototype.post = function(msg, cb) { text += CRLF; } + if (msg.face) { + text += 'Face: '; + text += msg.face; + text += CRLF; + } + text += 'Content-Type: text/plain; charset=utf-8'; text += CRLF;