Subj : MsgBase.put_msg_header() failing to save header
To : Digital Man
From : Nightfox
Date : Tue Aug 16 2016 07:47 pm
Re: MsgBase.put_msg_header() failing to save header
By: Digital Man to Nightfox on Mon Aug 15 2016 21:14:17
DM> If you don't pass 'false' as the 3rd argument to MsgBase.get_msg_header(),
DM> some header fields are expanded (e.g. missing message-IDs created) and
DM> some header fields which are non-existent or blank in the SMB are created
DM> in the JS instance of the header. So like the JS object model doc says:
DM> "Pass false for the expand_fields argument (default: true) if you will
DM> be re-writing the header later with put_msg_header()"
Ah, I must have forgotten that note in the JS object model doc. That's what
was causing put_msg_header to fail in my reader. Thanks.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com