forgot .length somehow

Co-Authored-By: bwindels <bruno@windels.cloud>
This commit is contained in:
Travis Ralston 2019-01-22 10:34:54 +00:00 committed by GitHub
parent 86357fde51
commit 881353037e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ module.exports = React.createClass({
},
isVisible: function() {
return this.state.usersTyping.length !== 0 || Object.keys(this.state.delayedStopTypingTimers) !== 0;
return this.state.usersTyping.length !== 0 || Object.keys(this.state.delayedStopTypingTimers).length !== 0;
},
onRoomTimeline: function(event, room) {