Subj : Messagebase skipping a number
To : Digital Man
From : Nightfox
Date : Sun Nov 20 2016 07:20 am
Re: Messagebase skipping a number
By: Digital Man to Nightfox on Sat Nov 19 2016 22:58:18
DM> Doesn't your reader already filter out some messages based on attributes
DM> (deleted messages, unvalidated messages, private mesages)? You could just
DM> add the new VOTE and POLL attributes to your checking/filtering logic.
It doesn't yet, but that's something that has been on my mind to add.
DM> The main advantages of using the get_all_msg_headers() method is speed
DM> (that's why it was created) and it now tallies the votes for you and puts
DM> the results in the message headers (currently, just upvotes and
DM> downvotes). The main disadvantage is that it didn't exist before sbbs
DM> v3.16.
I could do a version check to make sure my reader only calls
get_all_msg_headers() on 3.16 and above. At first I was thinking of requiring
3.16 or higher, but I'd like it to be backwards-compatible.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com