~edwargix/tallyard

fbe0044256d517a10399743497302e407e9d3ad6 — David Florness 4 years ago a77bcac
Be sure to set FinalVoters when starting election
1 files changed, 2 insertions(+), 0 deletions(-)

M election/voter.go
M election/voter.go => election/voter.go +2 -0
@@ 148,7 148,9 @@ func (el *Election) StartElection(client *mautrix.Client) error {
	if err != nil {
		return err
	}
	// OnStartElectionMessage(client, startEvt, elections)
	el.StartEvt = startEvt
	el.FinalVoters = &voters
	return nil
}