Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear out expired notifications when the game loads #49

Closed
seiyria opened this issue Jun 16, 2023 · 0 comments
Closed

clear out expired notifications when the game loads #49

seiyria opened this issue Jun 16, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@seiyria
Copy link
Member

seiyria commented Jun 16, 2023

check if new Date() > expiresAt, if so, remove it from the array

this will also expire actions on invalid notifications, preventing old notifications from having actions.

@seiyria seiyria added good first issue Good for newcomers enhancement New feature or request labels Jun 16, 2023
@seiyria seiyria added this to the Release 1 milestone Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Archived in project
Development

No branches or pull requests

1 participant