mirror of https://github.com/vector-im/riot-web
Comment startMatrixClient
parent
c2c548ef5a
commit
77a5384bf8
|
@ -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() {
|
function startMatrixClient() {
|
||||||
// dispatch this before starting the matrix client: it's used
|
// dispatch this before starting the matrix client: it's used
|
||||||
// to add listeners for the 'sync' event so otherwise we'd have
|
// to add listeners for the 'sync' event so otherwise we'd have
|
||||||
|
|
Loading…
Reference in New Issue