1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-22 18:41:57 +03:00

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