Comment startMatrixClient

pull/21833/head
David Baker 2016-08-02 18:56:12 +01:00
parent c2c548ef5a
commit 77a5384bf8
1 changed files with 4 additions and 0 deletions

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