Subj : msg_area.grp_list.sub_list scan_ptr
To   : Digital Man
From : Nightfox
Date : Sat Apr 27 2024 07:49 pm

Hi DM,

On my BBS, while doing some testing, I tried setting my newscan pointers for all sub-boards to the current date & time (in the stock shell, this would be from the main menu, & for "Message scan config" and then P for "Set new-scan pointers").

Then in JS, I checked the value of scan_ptr in the msg_area.grp_list.sub_list array for the sub-board. I thought the value of that scan_ptr value might be the last message (since I had just set my scan pointers to the current date & time), but it seems the value of that scan_ptr could be less than that.

The documentation for scan_ptr says this:
User's current new message scan pointer (highest-read message number)

When the documentation says "new message scan pointer", it sounds like what it means is the user's last read message?  Or should it be what the user has set by doing a newscan pointer configuration?

If that scan_ptr is the user's last read message, is there another variable in the Synchronet JS object model that represents the message number in the sub-board as configured in the user's newscan configuration?

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com