Merge pull request #637 from matrix-org/luke/fix-typing-avatars-displays-me

Fix typing avatars displaying "me"
This commit is contained in:
David Baker 2017-01-23 12:43:34 +00:00 committed by GitHub
commit 3cfa539230

View File

@ -186,7 +186,7 @@ module.exports = React.createClass({
},
_renderTypingIndicatorAvatars: function(limit) {
let users = WhoIsTyping.usersTyping(this.props.room);
let users = WhoIsTyping.usersTypingApartFromMe(this.props.room);
let othersCount = Math.max(users.length - limit, 0);
users = users.slice(0, limit);