Comment functions
This commit is contained in:
parent
0c61c52480
commit
0c2bd10594
1 changed files with 10 additions and 0 deletions
|
@ -577,6 +577,9 @@ module.exports = React.createClass({
|
||||||
this.scrollStateMap[roomId] = state;
|
this.scrollStateMap[roomId] = state;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when a new logged in session has started
|
||||||
|
*/
|
||||||
_onLoggedIn: function(credentials) {
|
_onLoggedIn: function(credentials) {
|
||||||
this.guestCreds = null;
|
this.guestCreds = null;
|
||||||
this.setState({
|
this.setState({
|
||||||
|
@ -585,6 +588,9 @@ module.exports = React.createClass({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the session is logged out
|
||||||
|
*/
|
||||||
_onLoggedOut: function() {
|
_onLoggedOut: function() {
|
||||||
this.notifyNewScreen('login');
|
this.notifyNewScreen('login');
|
||||||
this.replaceState({
|
this.replaceState({
|
||||||
|
@ -593,6 +599,10 @@ module.exports = React.createClass({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called just before the matrix client is started
|
||||||
|
* (useful for setting options and listeners)
|
||||||
|
*/
|
||||||
_onWillStartClient() {
|
_onWillStartClient() {
|
||||||
var cli = MatrixClientPeg.get();
|
var cli = MatrixClientPeg.get();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue