Default prop for whoIsTypingLimit
This commit is contained in:
parent
9a360a48d2
commit
4186a769ca
1 changed files with 6 additions and 0 deletions
|
@ -79,6 +79,12 @@ module.exports = React.createClass({
|
||||||
onVisible: React.PropTypes.func,
|
onVisible: React.PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getDefaultProps: function() {
|
||||||
|
return {
|
||||||
|
whoIsTypingLimit: 2,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
return {
|
return {
|
||||||
syncState: MatrixClientPeg.get().getSyncState(),
|
syncState: MatrixClientPeg.get().getSyncState(),
|
||||||
|
|
Loading…
Reference in a new issue