Merge branch 'master' into vector

This commit is contained in:
David Baker 2015-07-16 10:33:53 +01:00
commit 139b92fcd6
11 changed files with 553 additions and 12 deletions

View file

@ -36,7 +36,7 @@ var tileTypes = {
module.exports = {
getInitialState: function() {
return {
room: MatrixClientPeg.get().getRoom(this.props.roomId),
room: this.props.roomId ? MatrixClientPeg.get().getRoom(this.props.roomId) : null,
messageCap: INITIAL_SIZE
}
},