You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Allow clicking on avatar in room intro (#7496)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user