Use pre-calculated displaynames to handle dupes

pull/21833/head
lukebarnard 2017-01-16 18:57:49 +01:00
parent a79dc886ba
commit 5ab287fa1a
1 changed files with 1 additions and 1 deletions

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,
});
});