Use pre-calculated displaynames to handle dupes

This commit is contained in:
lukebarnard 2017-01-16 18:57:49 +01:00
parent a79dc886ba
commit 5ab287fa1a

View File

@ -284,7 +284,7 @@ module.exports = React.createClass({
}
userEvents[userId].push({
mxEvent: e,
displayName: e.getContent().displayname || userId,
displayName: e.target.name || userId,
index: index,
});
});