mirror of https://github.com/vector-im/riot-web
Use pre-calculated displaynames to handle dupes
parent
a79dc886ba
commit
5ab287fa1a
|
@ -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,
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue