fix: prettier formatting in PollContent and MediaGallery

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 11:40:28 -04:00
parent 0370ed525a
commit 10cda6b632
2 changed files with 3 additions and 8 deletions
@@ -70,9 +70,8 @@ function computeVotes(
answerIds = (content['m.selections'] as string[] | undefined) ?? [];
} else {
answerIds =
((content['org.matrix.msc3381.poll.response'] as any)?.answers as
| string[]
| undefined) ?? [];
((content['org.matrix.msc3381.poll.response'] as any)?.answers as string[] | undefined) ??
[];
}
if (answerIds.length === 0) continue;
const ts = ev.getTs();