Subj : Message header total_votes and upvotes properties
To   : Nightfox
From : Digital Man
Date : Wed Apr 24 2019 03:16 pm

 Re: Message header total_votes and upvotes properties
 By: Nightfox to Digital Man on Wed Apr 24 2019 01:11 pm

>   Re: Message header total_votes and upvotes properties
>   By: Digital Man to Nightfox on Tue Apr 23 2019 09:25 pm
>
>  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 see where the problem is.  It's due to a recent update I made to my
> reader.  I had started using the get_index() function, thinking it would be
> a faster way to filter vote messages out of the list of messages, and
> loading only the non-vote messages for display.  I suppose I'll have to just
> use get_all_msg_headers().

When a message is voted on, the original message header is not modified - new
message headers are added and distributed over the message network(s). That's
why get_all_msg_headers() is needed to tally the votes.

                                           digital man

Synchronet "Real Fact" #22:
The second ever Synchronet BBS was the Mid-Nite Hacker BBS (sysop: The Zapper).
Norco, CA WX: 81.2�F, 41.0% humidity, 17 mph NE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net