-
bbs.edit_msg() - Empty message
From
Nightfox@VERT/DIGDIST to
Digital Man on Wed Mar 23 16:38:02 2022
Hi DM,ããToday I noticed there's a bbs.edit_msg() function that was added in Synchronet 3.18. I tried calling that with a header for an existing message in a sub-board. When my editor came up, it was empty. Should it be editing the existing message contents?ããI'm running today's Synchronet build (March 23, 2022) for Windows.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Wed Mar 23 17:45:21 2022
Re: bbs.edit_msg() - Empty messageã By: Nightfox to Digital Man on Wed Mar 23 2022 04:38 pmãã > Hi DM,ã >ã > Today I noticed there's a bbs.edit_msg() function that was added inã > Synchronet 3.18. I tried calling that with a header for an existing messageã > in a sub-board. When my editor came up, it was empty. Should it be editingã > the existing message contents?ããYes, that's how I use it in msglist.js:ãã bbs.edit_msg(list[current]);ããAnd that list[] value is a returned object from MsgBase.get_msg_header().ãã > I'm running today's Synchronet build (March 23, 2022) for Windows.ããMe too. :-)ã-- ã digital man (rob)ããSynchronet/BBS Terminology Definition #64:ãR0DENT = Derogatory reference to a young BBS user of the 1990'sãNorco, CA WX: 80.7øF, 21.0% humidity, 11 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Nightfox@VERT/DIGDIST to
Digital Man on Wed Mar 23 20:11:43 2022
Re: bbs.edit_msg() - Empty messageã By: Digital Man to Nightfox on Wed Mar 23 2022 05:45 pmãã >> Today I noticed there's a bbs.edit_msg() function that was added inã >> Synchronet 3.18. I tried calling that with a header for an existingã >> message in a sub-board. When my editor came up, it was empty. Shouldã >> it be editing the existing message contents?ãã DM> Yes, that's how I use it in msglist.js:ãã DM> bbs.edit_msg(list[current]);ãã DM> And that list[] value is a returned object from MsgBase.get_msg_header().ããI'm also passing it an object from MsgBase.get_msg_header(). Does it need to have expanded fields or anything?ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Nightfox@VERT/DIGDIST to
Digital Man on Wed Mar 23 20:27:32 2022
Re: bbs.edit_msg() - Empty messageã By: Nightfox to Digital Man on Wed Mar 23 2022 08:11 pmãã >>> Synchronet 3.18. I tried calling that with a header for an existingã >>> message in a sub-board. When my editor came up, it was empty. ã >>> Should it be editing the existing message contents?ãã DM>> Yes, that's how I use it in msglist.js:ãã DM>> bbs.edit_msg(list[current]);ãã DM>> And that list[] value is a returned object fromã DM>> MsgBase.get_msg_header(). ããI got it to work. It seems the MsgBase object associated with the header needs to still be open for it to work (even though you aren't passing the MsgBase object to edit_msg()).ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Wed Mar 23 21:20:28 2022
Re: bbs.edit_msg() - Empty messageã By: Nightfox to Digital Man on Wed Mar 23 2022 08:11 pmãã > Re: bbs.edit_msg() - Empty messageã > By: Digital Man to Nightfox on Wed Mar 23 2022 05:45 pmã >ã > >> Today I noticed there's a bbs.edit_msg() function that was added inã > >> Synchronet 3.18. I tried calling that with a header for an existingã > >> message in a sub-board. When my editor came up, it was empty. Shouldã > >> it be editing the existing message contents?ã >ã > DM> Yes, that's how I use it in msglist.js:ã >ã > DM> bbs.edit_msg(list[current]);ã >ã > DM> And that list[] value is a returned object fromã > DM> MsgBase.get_msg_header().ã >ã > I'm also passing it an object from MsgBase.get_msg_header(). Does it needã > to have expanded fields or anything?ããNope.ã-- ã digital man (rob)ããRush quote #71:ãHe's not concerned with yesterday, he knows constant change is here todayãNorco, CA WX: 69.1øF, 33.0% humidity, 4 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã