mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
Use pre-calculated displaynames to handle dupes
This commit is contained in:
parent
a79dc886ba
commit
5ab287fa1a
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
userEvents[userId].push({
|
userEvents[userId].push({
|
||||||
mxEvent: e,
|
mxEvent: e,
|
||||||
displayName: e.getContent().displayname || userId,
|
displayName: e.target.name || userId,
|
||||||
index: index,
|
index: index,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue