• thread_id in message header

    From Nightfox@VERT/DIGDIST to Digital Man on Sat Oct 11 19:12:18 2014
    Hi DM,

    If I print the properties of a message header, one of the properties is thread_id. I'm guessing all messages in a sub-board that belong to a particular thread will have the same thread ID, is that correct? Also, in what version of Synchronet was thread_id introduced? I don't see it on the JavaScript documentation page:
    http://www.synchro.net/docs/jsobjs.html

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From echicken@VERT/ECBBS to Nightfox on Sun Oct 12 00:01:40 2014
    Re: thread_id in message header
    By: Nightfox to Digital Man on Sat Oct 11 2014 12:12:18

    If I print the properties of a message header, one of the properties is thread_id. I'm guessing all messages in a sub-board that belong to a particular thread will have the same thread ID, is that correct? Also, in

    This is correct as far as I know.

    thread_id is also the number of the original message in the thread. (The original message may or may not still exist.) If the message predates the addition of this property, then the value will be 0.

    what version of Synchronet was thread_id introduced? I don't see it on

    It was introduced after 3.15b, in March 2012 according to the commit log. So if you want your code to run on pre-3.16 systems, check that (typeof header.thread_id == "number") before attempting to make use of that value.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to Nightfox on Sun Oct 12 05:19:27 2014
    Re: thread_id in message header
    By: Nightfox to Digital Man on Sat Oct 11 2014 12:12 pm

    Hi DM,

    If I print the properties of a message header, one of the properties is thread_id. I'm guessing all messages in a sub-board that belong to a particular thread will have the same thread ID, is that correct? Also, in what version of Synchronet was thread_id introduced?

    Correct. It's not 100% accurate for networked message areas however.

    It was introduced in v3.16 (work in progress).

    I don't see it on the
    JavaScript documentation page:
    http://www.synchro.net/docs/jsobjs.html

    Yup, that's why. :-)

    digital man

    Synchronet "Real Fact" #3:
    Synchronet version 3 is written mostly in C, with some C++, x86 ASM, and Pascal.
    Norco, CA WX: 68.2øF, 82.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Oct 12 06:03:33 2014
    Re: thread_id in message header
    By: Digital Man to Nightfox on Sat Oct 11 2014 22:19:27

    is thread_id. I'm guessing all messages in a sub-board that belong to
    a particular thread will have the same thread ID, is that correct?
    Also, in what version of Synchronet was thread_id introduced?

    Correct. It's not 100% accurate for networked message areas however.

    It was introduced in v3.16 (work in progress).

    I don't see it on the
    JavaScript documentation page:
    http://www.synchro.net/docs/jsobjs.html

    Yup, that's why. :-)

    I see, thanks. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com