Monorepo for Tangled โ€” https://tangled.org

appview/pages: fix checkbox name for notifications when mentioned #847

Before: when you save notifications preferences, "when someone mentions you" always gets deselected as the HTML checkbox is named mentioned but the form processing logic checks for user_mentioned

          <input type="checkbox" name="mentioned" {{if .Preferences.UserMentioned}}checked{{end}}>
UserMentioned:      r.FormValue("user_mentioned") == "on",

After: HTML checkbox is renamed to user_mentioned so preference is saved correctly

0
by octet-stream.net 1 comment
expand 1 commit
appview/pages: fix checkbox name for notifications when mentioned
pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:txurc6ueald5d7462bpvzdby/sh.tangled.repo.pull/3m75p2dnzq222