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

Send Later does the wrong then when a profile somehow ends up with two "outbox" folders #703

Open
jikamens opened this issue Apr 19, 2024 · 0 comments

Comments

@jikamens
Copy link
Contributor

If a profile somehow ends up with two folders with type "outbox", Send Later sometimes puts scheduled messages into the wrong one at delivery time, and they therefore don't get sent.

I think to address this we're going to have to iterate through all local folders to identity all folders of that type, and if there is more than one, use getUnsentMessagesFolder from the sl3u experiment to figure out which is the canonical one and make sure we copy to that one. This could be challenging because folders are represented differently in experiment code from how they're represented in sandboxed add-on code, so we'll have to make sure to do the conversion properly so we can compare the folders we've identified in the add-on code with the folder that getUnsentMessagesFolder returns.

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

No branches or pull requests

1 participant