Default prop for whoIsTypingLimit

pull/21833/head
Luke Barnard 2017-01-24 17:16:26 +00:00
parent 9a360a48d2
commit 4186a769ca
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@ module.exports = React.createClass({
onVisible: React.PropTypes.func,
},
getDefaultProps: function() {
return {
whoIsTypingLimit: 2,
};
},
getInitialState: function() {
return {
syncState: MatrixClientPeg.get().getSyncState(),