Subj : NNTP and To: field
To   : Digital Man
From : Carlos Navarro
Date : Wed Nov 12 2025 07:47 pm

11 Nov 2025 14:08, you wrote to me:

>> I've been playing a bit and here's a patch. Edit nntpservice.js
>> (line 107 in revision 1.2, or line 111 in current 1.3) and change:
>>
>>  var hdr2 = mb.get_msg_header(hdr.reply_id);
>>
>> to:
>>
>>  var hdr2 = mb.get_msg_header(hdr.reply_id + '');
>>
>> There may be another way, but this seems to work.

> That change would just change (force) hdr.reply_id to be a string. It
> should already be a string, so that change should do nothing.

However, hdr.reply_id is not a string, but an object (a string object). And then, mb.get_msg_header() doesn't find anything and returns null.

I guess that something has to be fixed elsewhere (I am not familiar with Synchronet's code), but my quick patch doesn't break anything and it works for now: replies in echomail via NNTP have "To: recipient" instead of "To: All".

Carlos

--- GoldED+/W32-MSVC 1.1.5-b20180707
* Origin: cyberiada (2:341/234.1)