Fix EventTilePreview display names
Because of 91df392a2a
, we now need to
additionally set rawDisplayName to properly fake our display name for an
event.
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
5e3ad62189
commit
79bf7bee56
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
|||
// Fake it more
|
||||
event.sender = {
|
||||
name: this.props.displayName || this.props.userId,
|
||||
rawDisplayName: this.props.displayName,
|
||||
userId: this.props.userId,
|
||||
getAvatarUrl: (..._) => {
|
||||
return Avatar.avatarUrlForUser(
|
||||
|
|
Loading…
Reference in a new issue