Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

[Backport staging] Fix spurious session corruption error #12287

Merged
merged 1 commit into from
Feb 26, 2024

Commits on Feb 26, 2024

  1. Fix spurious session corruption error (#12280)

    * Fix spurious session corruption error
    
    Move the server versions check to each time we reconnect to the server
    rather than the first time,although, as per comment it will still only
    trigger the first time, but it will avoid us awaiting and mean we know
    we're connected to the server when we try, and get automatic retries.
    
    Fixes element-hq/element-web#26967
    
    * Move test & add regression test
    
    * Write some more tests
    
    * More comments & catch exceptions in server versions check
    
    * Note caching behaviour
    
    * Typo
    
    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    
    * Remove the bit of the comment that might be wrong
    
    ---------
    
    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    (cherry picked from commit 1403cd8)
    dbkr authored and github-actions[bot] committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    76da40c View commit details
    Browse the repository at this point in the history