diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-04-06 18:24:28 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-04-15 14:34:17 +0200 |
commit | 792c7802e1692847662834160b34113e35d35d8d (patch) | |
tree | 455f12c527913bb6692bf6681f13c18ffe709ced /server.js | |
parent | 2f320ed21eba25fac0da4570949ce222f1410447 (diff) | |
download | server-792c7802e1692847662834160b34113e35d35d8d.tar.gz |
Use role specific link in "Your Turn" emails.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1475,7 +1475,7 @@ function mail_your_turn_notification(user, game_id, interval) { let subject = game.title_name + " - " + game_id + " - Your turn!"; let body = mail_describe(game) + "It's your turn.\n\n" + - SITE_URL + "/play/" + game_id + "\n\n--\n" + + SITE_URL + "/play/" + game_id + "/" + encodeURI(user.role) + "\n\n--\n" + MAIL_FOOTER; console.log("SENT MAIL:", mail_addr(user), subject); mailer.sendMail({ from: MAIL_FROM, to: mail_addr(user), subject: subject, text: body }, mail_callback); |