mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Use pre-calculated displaynames to handle dupes
This commit is contained in:
parent
a79dc886ba
commit
5ab287fa1a
@ -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 New Issue
Block a user