Subj : Message header total_votes and upvotes properties To : Digital Man From : Nightfox Date : Wed Apr 24 2019 08:24 am Re: Message header total_votes and upvotes properties By: Digital Man to Nightfox on Tue Apr 23 2019 09:25 pm >> In my message reader, I have it display the upvotes, downvotes, and >> score as header information above the message. It was using the >> total_votes and upvotes properties of the message headers. Recently >> though, it seems those properties no longer exist in the message >> header objects. Has something changed recently regarding those >> message header properties? DM> Those header properties are only calculated and added the header object DM> when using the MsgBase.get_all_msg_headers() method. Are you? I am calling that, at least when I first enter a sub-board. I did a test yesterday where I posted a message in one of my local sub-boards and then upvoted it, then exited out of my reader and ran my reader again, but it still wasn't showing the score for the message. It would show the score in the past, which was why I was wondering if something had changed recently in the JS API. I'll have to double-check my reader code. Also, when a user votes on a message, I wanted my reader to be able to re-fetch just that one header from the msgbase to get the up-to-date vote data. I'd think it might be inefficient to call get_all_msg_headers() to do that, but if a user votes on a message, perhaps my reader could calculate the difference in up/downvotes (or poll vote) in that case? Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .