SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 1 из 100
 От   : Carlos Navarro                      2:341/234.1       11 ноя 25 21:29:34
 К    : Digital Man                                           11 ноя 25 23:56:01
 Тема : NNTP and To: field
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:341/234.1 69139cb2
@REPLY: 55188.sync@1:103/705 2d708533
@TID: FMail-W64 2.3.2.3-B20240423
@TZUTC: 0100
@CHRS: UTF-8 4
04 Nov 2025 14:01, you wrote to me:

 >> Replies in echomail areas through Synchronet`s NNTP server include
 >> "All" in the To: field. I had assumed this was standard behavior
 >> for SBBS, similar to the old NNTP-FTN gateways. (However, the REPLY
 >> kludge appears to be functioning correctly, allowing messages to be
 >> properly threaded.)
 >>
 >> After reviewing the source code of nntpservice.js, I discovered a
 >> function named getReferenceTo. If I`m not mistaken, this function
 >> should return the recipient`s name, but it defaults to "All" when a
 >> recipient isn`t found.
 >>
 >> Could it be that this function isn`t working as intended?

 > If a recipient isn`t found, "All" seems like a sensible default. Are
 > you saying the failure to find a recipient is a bug? Feel free to play
 > with it and offer up a patch if you have one.

 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.

Carlos

--- GoldED+/W32-MSVC 1.1.5-b20180707
 * Origin: cyberiada (2:341/234.1)
SEEN-BY: 50/109 103/705 124/5016 153/757 154/10 30
203/0 221/0 1 6 240/1120
SEEN-BY: 240/5832 263/1 280/464 5003 5006 292/8125
301/1 113 310/31 341/66
SEEN-BY: 341/234 396/45 423/120 460/58 463/68
633/280 712/848 770/1 5000/111
SEEN-BY: 5001/100 5020/101 400 715 848 1042 4441
12000 5030/49 1081 5060/900
SEEN-BY: 5061/133 5075/128
@PATH: 341/234 280/464 301/1 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх