Fix various minor mistakes

This commit is contained in:
Bryan Ashby 2019-11-08 19:20:14 -07:00
parent 351ae52776
commit c9ff904b2b
No known key found for this signature in database
GPG key ID: B49EB437951D2542
7 changed files with 17 additions and 18 deletions

View file

@ -275,7 +275,7 @@ class NNTPServer extends NNTPServerBase {
//
const remoteFrom = _.get(message.meta, [ 'System', Message.SystemMetaNames.RemoteFromUser ]);
message.nntpHeaders['X-FTN-From'] = remoteFrom ? `${fromName} <${remoteFrom}>` : fromName;
const remoteTo = _.get(message.meta [ 'System', Message.SystemMetaNames.RemoteToUser ]);
const remoteTo = _.get(message.meta, [ 'System', Message.SystemMetaNames.RemoteToUser ]);
message.nntpHeaders['X-FTN-To'] = remoteTo ? `${toName} <${remoteTo}>` : toName;
if(!message.replyToMsgId) {