Section One BBS

Welcome, Guest.


Subject: MSG_READ attribute and saving message headers Date: Mon Mar 16 2015 08:31 pm
From: Nightfox To: Digital Man

  Re: MSG_READ attribute and saving message headers
  By: Digital Man to Nightfox on Mon Mar 16 2015 12:45:47

 >> - When marking a message as read, does it make sense to do so only if
 >> the message is written to the logged-in user who is reading the
 >> message? 

 DM> Yes.

 >> - To enable the MSG_READ attribute for a message, is this the proper
 >> way to do that (assuming msgHeader is the header object and msgbase is
 >> the message base object):
 >> msgHeader.attr |= MSG_READ;
 >> msgbase.put_msg_header(true, msgHeader.offset, msgHeader);

 DM> Yes.

Thanks.

Nightfox

---
 ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com

Previous Message       Next Message
In Reply To: MSG_READ attribute and saving message headers (Digital Man)