Subj : bbs.edit_msg() - Empty message
To : Nightfox
From : Digital Man
Date : Wed Mar 23 2022 09:20 pm
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