Send pick-any checks with Other text; keep inbox focus across updates
This commit is contained in:
@@ -372,6 +372,9 @@ 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])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user