Door Games Unlimited

Welcome, Guest.


Subject: MsgBase.put_msg_header() failing to save header Date: Wed Aug 17 2016 14:07:21
From: Digital Man To: Nightfox

  Re: MsgBase.put_msg_header() failing to save header
  By: Nightfox to Digital Man on 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
 >  DM> MsgBase.get_msg_header(), some header fields are expanded (e.g. missing
 >  DM> message-IDs created) and some header fields which are non-existent or
 >  DM> blank in the SMB are created in the JS instance of the header. So like
 >  DM> the JS object model doc says: "Pass false for the expand_fields
 >  DM> 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.

Okay, glad that's resolved. :-)

                                            digital man

Synchronet/BBS Terminology Definition #43:
XOFF = Transmit Off (ASCII 19, Ctrl-S)
Norco, CA WX: 94.8°F, 21.0% humidity, 8 mph ESE wind, 0.00 inches rain/24hrs

---
 ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net

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