Default prop for whoIsTypingLimit

This commit is contained in:
Luke Barnard 2017-01-24 17:16:26 +00:00
parent 9a360a48d2
commit 4186a769ca

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(),