Closed PP-Contrib closed 1 month ago
The changes in the pull request focus on the delayFunc
logic within the src/jobs/webhooker.ts
file. The previous implementation has been modified to utilize two maps, dUntil
and dVerified
, instead of a single delays
map. This allows for improved tracking of message delays based on timestamps and verification status. The updated logic checks for valid destination phones, calculates delays, and manages message sending more effectively.
File | Change Summary |
---|---|
src/jobs/webhooker.ts | Refactored delayFunc to use dUntil and dVerified maps for managing message delays based on timestamps instead of a single delays map. Improved logic for checking delays and verifying message sending. |
In the meadow where bunnies play,
Delays now dance in a smarter way.
With timestamps bright, the messages flow,
No more confusion, just watch them go!
Hops of joy, in the code we trust,
For every delay, there's a reason robust! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes