Subj : Closed polls have no vote information
To : Nightfox
From : Digital Man
Date : Fri Aug 18 2017 09:49 pm
Re: Closed polls have no vote information
By: Nightfox to Digital Man on Fri Aug 18 2017 07:53 pm
> Hi DM,
>
> It seems that after closing a poll, the poll no longer has any vote
> information. total_votes is 0, and the tally values for the options are all
> 0. Is that how it was designed? I'm curious because SlyVote has an option
> to display stats on the polls in the current sub-board (number of votes and
> highest-voted options), and for closed polls, those are all 0. Also, when
> viewing a closed poll, it appears as if it didn't get any votes.
I think the problem was that there was no easy method for your to properly
close a poll via JS. You don't close a poll by modifying the poll (this would
not send a closure message out to the network,f or example) - instead, a poll
closure is actually a new message which propagates through the network and
marks the (existing) poll as closed.
I just committed a change which adds a MsgBase.close_poll() method. Try using
that to close a poll and it should work as intended.
digital man
Synchronet "Real Fact" #9:
The name "DOVE-Net" comes from: The Beast's DOmain / VErtrauen network.
Norco, CA WX: 69.8�F, 73.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net