Re: exec/load/smbdefs.js
By: Digital Man to DaiTengu on Mon Apr 15 2019 03:46 am
Just a heads up, this commit breaks DDMsgReader. I edited my local
copy to remove the definitions Rob got rid of, and chang MSG_TRUNCFILE
to MSG_MIMEATTACH. Things seem OK, but I haven't done any message
attachments.
Sorry about that, I didn't expect anyone was using that value in their JS code - it wasn't used in Synchronet (or SMB) for anything and was removed along with some other cruft. The MIMEATTACH thing is new however and may be useful.
It looks like Nightfox declared all the possible message attributes in DDMsgReader.js, so with the missing attributes DDMsgReader was throwing errors.
I just commented out what had been removed, which will work for now until Nightfox has a chance to update it :)
DaiTengu
... He who ploughs a straight furrow, is probably in a rut.
---
■ Synchronet ■ War Ensemble BBS - The sport is war, total war - warensemble.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)