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

Move rehydration of MatrixClients from MatrixClientPeg to SessionLoader #399

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 10, 2016

This means that we don't create a spurious MatrixClient which is thrown away by
the SessionLoader (whilst still ensuring that the rehydrated matrixclient
follows the same code path as matrixclients created at other points in the
session load process).

This means that we don't create a spurious MatrixClient which is thrown away by
the SessionLoader (whilst still ensuring that the rehydrated matrixclient
follows the same code path as matrixclients created at other points in the
session load process).
@dbkr dbkr merged commit 6aa5e5a into develop Aug 10, 2016
richvdh added a commit to element-hq/element-web that referenced this pull request Aug 10, 2016
1. fix the 'Clean load' tests which had been broken by
matrix-org/matrix-react-sdk#399: make sure we clear
localStorage between tests.

2. Test the session rehydration properly by setting the localStorage rather
than setting up the MatrixClientPeg before loading the app.

3. Add some tests for the auto-guest-registration flows.
@richvdh richvdh deleted the rav/refactor_session_rehydration branch August 10, 2016 17:21
richvdh added a commit to element-hq/element-web that referenced this pull request Aug 10, 2016
This had been broken by
matrix-org/matrix-react-sdk#399. Change the way we
populate the matrixclient used for the joining tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants