Use avatar sisze inplace

pull/21833/head
Jorik Schellekens 2020-07-01 12:28:32 +01:00
parent b1e0b35758
commit 1dd9c1eea3
1 changed files with 1 additions and 2 deletions

View File

@ -232,10 +232,9 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
'mx_RoomTile2_minimized': this.props.isMinimized,
});
const avatarSize = 32;
const roomAvatar = <DecoratedRoomAvatar
room={this.props.room}
avatarSize={avatarSize}
avatarSize={32}
tag={this.props.tag}
displayBadge={this.props.isMinimized}
/>;