matrix-js-sdk
597f981f - Poll /sync with a short timeout while catching up

Commit
8 years ago
Poll /sync with a short timeout while catching up On first connect, or after a disconnection, poll /sync with timeout=0 until we get no to_device messages back. This will allow us to figure out whether we have more to_device messages queued up for us on the server, which in turn will help us fix a bug with clearing out one-time-keys too quickly.
Author
Parents
Loading