Allow voting in one person group.

This commit is contained in:
Michelle Tang
2025-11-13 17:28:42 -05:00
parent 5ed4813331
commit d5aba6cd9a

View File

@@ -164,7 +164,7 @@ class PollVoteJob(
SignalDatabase.recipients.markUnregistered(unregistered)
}
if (groupResult.completed.isNotEmpty()) {
if (groupResult.completed.isNotEmpty() || destinations.isEmpty()) {
if (isRemoval) {
SignalDatabase.polls.markPendingAsRemoved(
pollId = poll.id,