Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 766b8be

Browse files
committed
Remove unused code-path
1 parent 20d5798 commit 766b8be

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/components/structures/RoomView.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -849,23 +849,6 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
849849
this.onCancelSearchClick();
850850
}
851851
break;
852-
case 'quote':
853-
if (this.state.searchResults) {
854-
const roomId = payload.event.getRoomId();
855-
if (roomId === this.state.roomId) {
856-
this.onCancelSearchClick();
857-
}
858-
859-
setImmediate(() => {
860-
dis.dispatch<ViewRoomPayload>({
861-
action: Action.ViewRoom,
862-
room_id: roomId,
863-
deferred_action: payload,
864-
metricsTrigger: "MessageSearch",
865-
});
866-
});
867-
}
868-
break;
869852
case 'MatrixActions.sync':
870853
if (!this.state.matrixClientIsReady) {
871854
this.setState({

0 commit comments

Comments
 (0)