From 4089c7bf553930bb843ee87a433c3553c36b3e3a Mon Sep 17 00:00:00 2001 From: SSantoro 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;