Door Games Unlimited

Welcome, Guest.


Subject: MsgBase.put_msg_header() failing to save header Date: Tue Aug 16 2016 19:47:37
From: Nightfox To: Digital Man

  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

Previous Message       Next Message
In Reply To: MsgBase.put_msg_header() failing to save header (Digital Man)
Replies: MsgBase.put_msg_header() failing to save header (Digital Man)