make our state explicit

pull/342/head
Matthew Hodgson 2015-11-03 14:35:55 +00:00
parent 27cf9cf561
commit 8b9b268ec0
1 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,14 @@ var CallHandler = require("matrix-react-sdk/lib/CallHandler");
var HIDE_CONFERENCE_CHANS = true;
module.exports = {
getInitialState: function() {
return {
activityMap: null,
inviteList: [],
roomList: [],
}
},
componentWillMount: function() {
var cli = MatrixClientPeg.get();
cli.on("Room", this.onRoom);