Merge pull request #4289 from matrix-org/t3chguy/userInfo_avatar

blank out UserInfo avatar when changing between members
pull/21833/head
Michael Telatynski 2020-03-27 10:21:53 +00:00 committed by GitHub
commit cf4f595f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1382,6 +1382,7 @@ const UserInfoHeader = ({onClose, member, e2eStatus}) => {
<div> <div>
<div> <div>
<MemberAvatar <MemberAvatar
key={member.userId} // to instantly blank the avatar when UserInfo changes members
member={member} member={member}
width={2 * 0.3 * window.innerHeight} // 2x@30vh width={2 * 0.3 * window.innerHeight} // 2x@30vh
height={2 * 0.3 * window.innerHeight} // 2x@30vh height={2 * 0.3 * window.innerHeight} // 2x@30vh