• get_index() - Fields in the objects returned

    From Nightfox@VERT/DIGDIST to Digital Man on Wed Apr 10 19:50:21 2019
    Hi DM,ããI was experimenting with the new MsgBase.get_index() function that was addedãrecently and printing the properties & values in the objects to see what wasãbeing returned. I'm a little confused on the 'to', 'from', and 'subject'ãfields in these objects, as those values are numbers. Are those not supposedãto be the 'to' and 'from' names and the subject for the message? For instance,ãthis is the first one for my Dove-Net General sub-board:ãã number: 31191ã to: 17496ã from: 50642ã subject: 23909ã attr: 0ã offset: 0ã time: 1501951866ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Digital Man@VERT to Nightfox on Thu Apr 11 04:26:06 2019
    Re: get_index() - Fields in the objects returnedã By: Nightfox to Digital Man on Wed Apr 10 2019 07:50 pmãã > Hi DM,ã >ã > I was experimenting with the new MsgBase.get_index() function that was addedã > recently and printing the properties & values in the objects to see what wasã > being returned. I'm a little confused on the 'to', 'from', and 'subject'ã > fields in these objects, as those values are numbers. Are those notã > supposed to be the 'to' and 'from' names and the subject for the message?ã > For instance, this is the first one for my Dove-Net General sub-board:ã >ã > number: 31191ã > to: 17496ã > from: 50642ã > subject: 23909ã > attr: 0ã > offset: 0ã > time: 1501951866ããThe SMB index records only contains numbers. For the mail base, the 'to' andã'from' fields of an index record contain the destination and source userãnumbers, when relevant (0 when the source or destination is a network entity).ããFor sub-boards, the index record to and from fields contain a hash of the 'to'ãand 'from' user name or alias. The hash is a CRC-16 of the string's lowercaseãvalue.ããThe subject field of SMB index records always contains a hash (again, CRC-16)ãof the lowercase version of the message subject - for simple threadingãpurposes, for both mail bases and sub-boards.ããMore details can be found here, if you're interested:ãhttp://synchro.net/docs/smb.htmlãã digital manããSynchronet/BBS Terminology Definition #42:ãKD = King Drafus (Allen Christiansen)ãNorco, CA WX: 56.3øF, 39.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Nightfox@VERT/DIGDIST to Digital Man on Thu Apr 11 10:44:06 2019
    Re: get_index() - Fields in the objects returnedã By: Digital Man to Nightfox on Thu Apr 11 2019 04:26 amãã DM> The SMB index records only contains numbers. For the mail base, the 'to'ã DM> and 'from' fields of an index record contain the destination and sourceã DM> user numbers, when relevant (0 when the source or destination is a networkã DM> entity). ãã DM> For sub-boards, the index record to and from fields contain a hash of theã DM> 'to' and 'from' user name or alias. The hash is a CRC-16 of the string'sã DM> lowercase value.ãã DM> The subject field of SMB index records always contains a hash (again,ã DM> CRC-16) of the lowercase version of the message subject - for simpleã DM> threading purposes, for both mail bases and sub-boards.ãã DM> More details can be found here, if you're interested:ã DM> http://synchro.net/docs/smb.htmlããI see, thanks.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã