summaryrefslogtreecommitdiff
path: root/internal/typeutils
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-11-22 16:27:32 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-22 16:27:32 +0100
commit71e0aaee3c17df722c3474b335a807718184cce2 (patch)
tree8c0d70564aeadf6d41f1b2bf8995f06c593d88e1 /internal/typeutils
parent[chore]: Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 (#2375) (diff)
downloadgotosocial-71e0aaee3c17df722c3474b335a807718184cce2.tar.xz
[bugfix/chore] id poll options properly (#2379)
* aria-labels for polls, id poll options properly * my bad, aria labels are for interactive elements
Diffstat (limited to 'internal/typeutils')
-rw-r--r--internal/typeutils/internaltofrontend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go
index 0668d44bb..cd53d9ae6 100644
--- a/internal/typeutils/internaltofrontend.go
+++ b/internal/typeutils/internaltofrontend.go
@@ -709,6 +709,7 @@ func (c *Converter) StatusToWebStatus(
webPollOption := apimodel.WebPollOption{
PollOption: option,
+ PollID: poll.ID,
Emojis: webStatus.Emojis,
LanguageTag: webStatus.LanguageTag,
VoteShare: voteShare,