mirror of https://github.com/vector-im/riot-web
Merge pull request #4289 from matrix-org/t3chguy/userInfo_avatar
blank out UserInfo avatar when changing between memberspull/21833/head
commit
cf4f595f79
|
@ -1382,6 +1382,7 @@ const UserInfoHeader = ({onClose, member, e2eStatus}) => {
|
|||
<div>
|
||||
<div>
|
||||
<MemberAvatar
|
||||
key={member.userId} // to instantly blank the avatar when UserInfo changes members
|
||||
member={member}
|
||||
width={2 * 0.3 * window.innerHeight} // 2x@30vh
|
||||
height={2 * 0.3 * window.innerHeight} // 2x@30vh
|
||||
|
|
Loading…
Reference in New Issue