You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-04 23:02:14 +03:00
Use pre-calculated displaynames to handle dupes
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user