mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-14 00:41:52 +02:00
Comment startMatrixClient
This commit is contained in:
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…
x
Reference in New Issue
Block a user