[X] I have checked for similar issues on the Issue-tracker.
[X] I have updated to the latest version
[X] I have checked the branches or the maintainers' PRs for upcoming bug fixes.
Description
When the initial messages are done in a fast pace, multiple modmail threads are created. Only one thread should be created, and both messsages should be forwarded to that thread.
Steps to reproduce
Have modmail enabled
Do not have a modmail thread open for a user
The user sends two messages in very short periods of one another
Expected behaviour
Open one modmail thread and forward the second message normally
Actual behaviour
Two modmail threads might be opened, due to a race condition.
General Troubleshooting
Description
When the initial messages are done in a fast pace, multiple modmail threads are created. Only one thread should be created, and both messsages should be forwarded to that thread.
Steps to reproduce
Have modmail enabled Do not have a modmail thread open for a user The user sends two messages in very short periods of one another
Expected behaviour
Open one modmail thread and forward the second message normally
Actual behaviour
Two modmail threads might be opened, due to a race condition.