From 5e00818d7060efe64568cbf01d1b92642d636932 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 25 Mar 2021 11:38:14 +0000 Subject: [PATCH] Fix new space invite button in the room intro --- src/components/views/rooms/NewRoomIntro.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/NewRoomIntro.tsx b/src/components/views/rooms/NewRoomIntro.tsx index c85b9d7868..2f248037b1 100644 --- a/src/components/views/rooms/NewRoomIntro.tsx +++ b/src/components/views/rooms/NewRoomIntro.tsx @@ -116,7 +116,7 @@ const NewRoomIntro = () => { className="mx_NewRoomIntro_inviteButton" kind="primary" onClick={() => { - dis.dispatch({ action: "view_invite", roomId }); + dis.dispatch({ action: "view_invite", roomId: parentSpace.roomId }); }} > {_t("Invite to %(spaceName)s", { spaceName: parentSpace.name })}