SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 4 из 100
 От   : Carlos Navarro                      2:341/234.1       12 ноя 25 19:47:34
 К    : Digital Man                                           12 ноя 25 22:04:01
 Тема : NNTP and To: field
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:341/234.1 6914d64f
@REPLY: 55276.sync@1:103/705 2d79c1bd
@TID: FMail-W64 2.3.2.3-B20240423
@TZUTC: 0100
@CHRS: UTF-8 4
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)
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    
                                                                                
В этой области больше нет сообщений.

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