1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Comment startMatrixClient

This commit is contained in:
David Baker
2016-08-02 18:56:12 +01:00
parent c2c548ef5a
commit 77a5384bf8

View File

@@ -65,6 +65,10 @@ function logout() {
);
}
/**
* Starts the matrix client and all other react-sdk services that
* listen for events while a session is logged in.
*/
function startMatrixClient() {
// dispatch this before starting the matrix client: it's used
// to add listeners for the 'sync' event so otherwise we'd have