Commit graph

111 commits

Author SHA1 Message Date
David Baker
b95a1c4a4b Just doc with the MatrixClientCreds object 2016-08-03 16:31:42 +01:00
David Baker
a5384d32e2 Copy opts to set pendingEventOrdering 2016-08-03 16:28:37 +01:00
David Baker
ffa97a4095 Log out when account is deactivated 2016-08-03 11:47:29 +01:00
David Baker
d9a7d50a03 Add an interface for MatrixClientCreds
and make MatrixClientPeg functions use it consistently
2016-08-03 10:46:42 +01:00
David Baker
1f17b78371 log if we can't log out 2016-08-03 10:01:23 +01:00
David Baker
40834d188e Don't let pendingEventOrdering be changed 2016-08-02 18:58:18 +01:00
David Baker
77a5384bf8 Comment startMatrixClient 2016-08-02 18:56:12 +01:00
David Baker
c2c548ef5a Comment logout 2016-08-02 18:55:13 +01:00
David Baker
b9a5f7902b Doc setLoggedIn & remove redundant opts 2016-08-02 18:52:56 +01:00
David Baker
58bbb35096 s/login/setLoggedIn/ 2016-08-02 18:48:27 +01:00
David Baker
db9750a7e3 Call the logout API when we log out
Also try to refactor some of the login/logout code out of MatrixChat and into a separate Lifecycle.js. This still isn't great, but it at least gets some code out of MatrixClient.
2016-08-02 14:04:20 +01:00