This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9a747fe6 Fix age-check to work long after meeting
9a747fe6 is described below
commit 9a747fe67697a7296ee633421165ed3e9924c02c
Author: Sebb <[email protected]>
AuthorDate: Thu Sep 4 14:11:31 2025 +0100
Fix age-check to work long after meeting
---
www/members/check_invitations.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/members/check_invitations.cgi
b/www/members/check_invitations.cgi
index 3dfde15a..b434100e 100755
--- a/www/members/check_invitations.cgi
+++ b/www/members/check_invitations.cgi
@@ -90,7 +90,7 @@ def setup_data
(to.addresses + cc.addresses).each do |add|
addr = add.address
next if addr == '[email protected]'
- prev = invites[:emails][addr] || [nil, 100]
+ prev = invites[:emails][addr] || [nil, 365] # so script works long
after the meeting
if age < prev[1] # Only store later dates
invites[:emails][addr] = [link, age] # temp save the timestamp
invites[:names][add.display_name] = [link, age] if add.display_name