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

Check sent time of telegram game message when joining sesison #24

Open
gabeklavans opened this issue Jun 5, 2024 · 1 comment
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gabeklavans
Copy link
Owner

gabeklavans commented Jun 5, 2024

If no session exists for a given telegram game message ID, a new session is created for that message. However, when the session expires, there's no way to tell that there was previously already a session for that message. If someone were to try to access the game after the session expires, gamejay would just create a new session for it, since it doesn't remember seen message IDs.

If the message's sent time were also sent to gamejay, this could be checked against the session expire cutoff to prevent this unwanted interaction.

@gabeklavans gabeklavans added enhancement New feature or request good first issue Good for newcomers labels Jun 5, 2024
@gabeklavans gabeklavans changed the title Embed created timestamp in sesison IDs Check sent time of telegram game message when joining sesison Jun 5, 2024
@jh1923
Copy link
Collaborator

jh1923 commented Jun 6, 2024 via email

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
None yet
Development

No branches or pull requests

2 participants