Merge pull request #6204 from robintown/forward-dialog-display-name

Fix forward dialog message preview display names
pull/21833/head
J. Ryan Stinnett 2021-06-17 10:10:54 +01:00 committed by GitHub
commit 6e827ad4c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ const ForwardDialog: React.FC<IProps> = ({ matrixClient: cli, event, permalinkCr
});
mockEvent.sender = {
name: profileInfo.displayname || userId,
rawDisplayName: profileInfo.displayname,
userId,
getAvatarUrl: (..._) => {
return avatarUrlForUser(