From 1a2bd55c099391092de573f92cea48f270957354 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Wed, 11 Nov 2020 15:17:34 +0000
Subject: [PATCH 1/2] Fix New Room Intro invite to this room button
---
src/components/views/rooms/NewRoomIntro.tsx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/components/views/rooms/NewRoomIntro.tsx b/src/components/views/rooms/NewRoomIntro.tsx
index 27404eef12..be4ecaffb3 100644
--- a/src/components/views/rooms/NewRoomIntro.tsx
+++ b/src/components/views/rooms/NewRoomIntro.tsx
@@ -99,6 +99,10 @@ const NewRoomIntro = () => {
});
}
+ const onInviteClick = () => {
+ dis.dispatch({ action: "view_invite", roomId });
+ };
+
const avatarUrl = room.currentState.getStateEvents(EventType.RoomAvatar, "")?.getContent()?.url;
body =
{topicText}