Messages are sent out of order
used to happen only after we got rate limited and we had to refresh. Recently I've seen it happen when only sending 2 messages in fresh page load.
Might have something to do with the fact that we send multiple messages at once as long as we don't get rate-limited. We probably need to wait for the first one to be sent.
haven't been able to repro, but m.org is a bit slow so not sure we actually get rate limited. we can try with a local server that is configured to rate limit quickly
can try with a local server that is configured to rate limit quickly
did this and could not reproduce
Might have something to do with the fact that we send multiple messages at once as long as we don't get rate-limited. We probably need to wait for the first one to be sent.
Checked the code btw, and can't see anything like this. All seems to be awaited well.