• Marking a message as read

    From Nightfox@VERT/DIGDIST to All on Sun May 9 19:12:43 2010
    In JavaScript scripts for Synchronet, is there a way to mark a message in a sub-board as read? The MsgBase object has the get_msg_body() function, which retrieves the body of a message, but looking at the docs, I'm not sure that I see a way to change the attributes of a message to mark one as read by the user.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com
  • From Digital Man@VERT to Nightfox on Mon May 10 18:25:49 2010
    Re: Marking a message as read
    By: Nightfox to All on Sun May 09 2010 07:12 pm

    In JavaScript scripts for Synchronet, is there a way to mark a message in a sub-board as read? The MsgBase object has the get_msg_body() function, which retrieves the body of a message, but looking at the docs, I'm not
    sure that I see a way to change the attributes of a message to mark one as read by the user.

    Yes, using MsgBase.put_msg_header()

    digital man

    Snapple "Real Fact" #166:
    Before mercury, brandy was used to fill thermometers.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Thu May 13 07:32:44 2010
    Re: Marking a message as read
    By: Digital Man to Nightfox on Mon May 10 2010 18:25:49

    Yes, using MsgBase.put_msg_header()

    Thanks.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com
  • From Nightfox@VERT/DIGDIST to Digital Man on Fri May 14 23:12:20 2010
    Re: Marking a message as read
    By: Digital Man to Nightfox on Mon May 10 2010 18:25:49

    Yes, using MsgBase.put_msg_header()

    If I do that to a message in one of my message sub-boards, will that set it as read for everyone? What I want to do is just mark the message as read just
    for the user who read it, so the message will no longer come up in a scan for new messages to the user in the sub-board.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com
  • From Digital Man@VERT to Nightfox on Mon May 17 11:23:15 2010
    Re: Marking a message as read
    By: Nightfox to Digital Man on Fri May 14 2010 11:12 pm

    Re: Marking a message as read
    By: Digital Man to Nightfox on Mon May 10 2010 18:25:49

    Yes, using MsgBase.put_msg_header()

    If I do that to a message in one of my message sub-boards, will that set it as read for everyone? What I want to do is just mark the message as read just for the user who read it, so the message will no longer come up in a scan for new messages to the user in the sub-board.

    No, the "READ" attribute means the "To" user read it.

    digital man

    Snapple "Real Fact" #180:
    The first VCR was made in 1956 and was the size of a piano.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Tue May 18 19:32:32 2010
    Re: Marking a message as read
    By: Digital Man to Nightfox on Mon May 17 2010 11:23:15

    No, the "READ" attribute means the "To" user read it.

    Thanks for the clarification.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com