Closed jjrocks closed 7 months ago
Light clarification from a bad title. For an example let's day today is Feb 27, 2024 and I schedule a message for Feb 29, 2024. It'll successfully wait until the 29th to send the message. However if I were to send a message on March 26th instead of Blue Bubbles waiting until March 26th, it will send it as soon as I schedule it (on Feb 27th)
I have tried a few other things:
Also just so people know Server version: 1.9.5 Android App version:1.12.7
Light clarification from a bad title. For an example let's day today is Feb 27, 2024 and I schedule a message for Feb 29, 2024. It'll successfully wait until the 29th to send the message. However if I were to send a message on March 26th instead of Blue Bubbles waiting until March 26th, it will send it as soon as I schedule it (on Feb 27th)
I have tried a few other things:
- It successfully waits to send the message up to 3 weeks in advance
- This happens with two separate people I've tried
Also just so people know Server version: 1.9.5 Android App version:1.12.7
I've reproduced it as well, thank you. However, moving this to the server repo as the server is what handles the scheduling.
Fixed this on my development branch. The issue was that setTimeout
only allows a delay value of up to the max 32 bit integer (2,147,483,647), which is about 24 days. Scheduling a message for > that value will default back to 1. Which is why we saw the message immediately send.
Steps to Reproduce
Expected
It shouldn't send a message to the user
Observed
It does send a message.