From e6869797d70ccea2012c75675da9cbdfd242ee83 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 20 Jul 2021 09:27:32 +0100 Subject: [PATCH] remove unused prop --- src/components/structures/MatrixChat.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index 0c982311e2..8cfe35c4cf 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -1864,13 +1864,6 @@ export default class MatrixChat extends React.PureComponent { dis.dispatch({ action: 'timeline_resize' }); } - onRoomCreated(roomId: string) { - dis.dispatch({ - action: "view_room", - room_id: roomId, - }); - } - onRegisterClick = () => { this.showScreen("register"); }; @@ -2043,7 +2036,6 @@ export default class MatrixChat extends React.PureComponent { {...this.state} ref={this.loggedInView} matrixClient={MatrixClientPeg.get()} - onRoomCreated={this.onRoomCreated} onRegistered={this.onRegistered} currentRoomId={this.state.currentRoomId} />