Skip to content

Conversation

@SessionHero01
Copy link
Collaborator

Previously, when an attachment upload job completes, it tries to resume the MessageSendJob so that the MessageSendJob can check if all attachments have been uploaded. The problem is, if then the MessageSendJob finds out there are still attachments to upload, the resuming from AttachmentUploadJob will no longer trigger a MessageSendJob, hence no one is going to send the message out. The issue is a fix back in 2021 where a pending tasks set was introduced to try to fix duplicated message issue, and accidentally limit the number of times the MessageSendJob could be brought back.

The fix is properly updating the pending job so that the MessageSendJob can get executed again on the final attachment upload.

@ThomasSession ThomasSession merged commit 32d5bfb into release/1.21.0 Feb 27, 2025
1 check passed
@SessionHero01 SessionHero01 deleted the ses-3427-multiple-send-issue branch February 27, 2025 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants