forked from matrix/element-web
make our state explicit
This commit is contained in:
parent
27cf9cf561
commit
8b9b268ec0
|
@ -28,6 +28,14 @@ var CallHandler = require("matrix-react-sdk/lib/CallHandler");
|
||||||
var HIDE_CONFERENCE_CHANS = true;
|
var HIDE_CONFERENCE_CHANS = true;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
getInitialState: function() {
|
||||||
|
return {
|
||||||
|
activityMap: null,
|
||||||
|
inviteList: [],
|
||||||
|
roomList: [],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
componentWillMount: function() {
|
componentWillMount: function() {
|
||||||
var cli = MatrixClientPeg.get();
|
var cli = MatrixClientPeg.get();
|
||||||
cli.on("Room", this.onRoom);
|
cli.on("Room", this.onRoom);
|
||||||
|
|
Loading…
Reference in New Issue