show results of poll

This commit is contained in:
Mathium05
2026-07-29 18:38:55 -05:00
parent 80e8eb8a42
commit 875b3fb17d
+1 -1
View File
@@ -1321,7 +1321,7 @@ class Message extends SnowFlake {
question.textContent = this.poll.question.text;
pollbody.append(question);
let ccount = [...r.values()].reduce((e, l) => e + +l.me_voted, 0);
if (this.poll.allow_multiselect) voted = !!ccount;
voted = !!ccount;
for (const a of this.poll.answers) {
const aarea = document.createElement("div");
aarea.classList.add("flexltr", "answerArea");