matrix-js-sdk
affdfccd - Only emit CATCHUP if recovering from conn error

Comment changes are shownComment changes are hidden
Commit
6 years ago
Only emit CATCHUP if recovering from conn error Have the keepalive promise return a boolean indicating whether it detected a connectivity failure or not. Use this to only emit CATCHUP if there was a connectivity error, to try & suppress the state flip-flopping back & forth between CATCHUP and ERROR in the case where we have connectivity but the sync is returning and error for whatever reason.
Author
Parents
  • src
    • File
      sync.js
Loading