Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Allow clicking on avatar in room intro (#7496)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronraimist authored Jan 10, 2022
1 parent c03cb67 commit dbd7949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/NewRoomIntro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const NewRoomIntro = () => {
noAvatarLabel={_t("Add a photo, so people can easily spot your room.")}
setAvatarUrl={url => cli.sendStateEvent(roomId, EventType.RoomAvatar, { url }, '')}
>
<RoomAvatar room={room} width={AVATAR_SIZE} height={AVATAR_SIZE} />
<RoomAvatar room={room} width={AVATAR_SIZE} height={AVATAR_SIZE} viewAvatarOnClick={true} />
</MiniAvatarUploader>

<h2>{ room.name }</h2>
Expand Down

0 comments on commit dbd7949

Please sign in to comment.