Skip to content

Commit 8b9b268

Browse files
committed
make our state explicit
1 parent 27cf9cf commit 8b9b268

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/controllers/organisms/RoomList.js‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ var CallHandler = require("matrix-react-sdk/lib/CallHandler");
2828
var HIDE_CONFERENCE_CHANS = true;
2929

3030
module.exports = {
31+
getInitialState: function() {
32+
return {
33+
activityMap: null,
34+
inviteList: [],
35+
roomList: [],
36+
}
37+
},
38+
3139
componentWillMount: function() {
3240
var cli = MatrixClientPeg.get();
3341
cli.on("Room", this.onRoom);

0 commit comments

Comments
 (0)