Merge pull request #4 from matrix-org/registration

Registration
This commit is contained in:
David Baker 2015-07-16 09:58:53 +01:00
commit e2757b3587
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
}
},