1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-25 17:02:04 +03:00

SessionStore extends flux.Store

This commit is contained in:
Luke Barnard
2017-05-15 14:52:19 +01:00
parent 2b4c87aca6
commit da3cb0ee48
3 changed files with 19 additions and 14 deletions

View File

@ -252,7 +252,7 @@ module.exports = React.createClass({
}
this._sessionStore = sessionStore;
this._sessionStore.on('update', this._setStateFromSessionStore);
this._sessionStore.addListener(this._setStateFromSessionStore);
this._setStateFromSessionStore();
},