1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

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