Let pick-one answers carry notes from the Other box

This commit is contained in:
Ian Gulliver
2026-10-19 16:35:09 -07:00
parent 8bca7a4369
commit 5f61749e7b
8 changed files with 215 additions and 217 deletions
+3 -3
View File
@@ -494,12 +494,12 @@ func deliveryMessage(pending []store.Pending) string {
for _, o := range *r.Options {
fmt.Fprintf(b, "- %s\n", o)
}
if r.Text != nil && strings.TrimSpace(*r.Text) != "" {
fmt.Fprintf(b, "%s added: %s\n", r.User, *r.Text)
}
} else {
fmt.Fprintf(b, "%s chose: %s\n", r.User, (*r.Options)[0])
}
if r.Text != nil && strings.TrimSpace(*r.Text) != "" {
fmt.Fprintf(b, "%s added: %s\n", r.User, *r.Text)
}
case api.Other:
text := ""
if r.Text != nil {