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

Fix forward dialog message preview display names
This commit is contained in:
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

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(