Allow clicking on avatar in room intro (#7496)

pull/21833/head
Aaron Raimist 2022-01-10 06:16:14 -06:00 committed by GitHub
parent c03cb67aef
commit dbd7949e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ const NewRoomIntro = () => {
noAvatarLabel={_t("Add a photo, so people can easily spot your room.")} noAvatarLabel={_t("Add a photo, so people can easily spot your room.")}
setAvatarUrl={url => cli.sendStateEvent(roomId, EventType.RoomAvatar, { url }, '')} 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> </MiniAvatarUploader>
<h2>{ room.name }</h2> <h2>{ room.name }</h2>