You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-10 05:42:29 +03:00
Allow quote-reply in thread view element-web (#6959)
This commit is contained in:
@@ -779,7 +779,10 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
||||
});
|
||||
break;
|
||||
case 'reply_to_event':
|
||||
if (this.state.searchResults && payload.event.getRoomId() === this.state.roomId && !this.unmounted) {
|
||||
if (this.state.searchResults
|
||||
&& payload.event.getRoomId() === this.state.roomId
|
||||
&& !this.unmounted
|
||||
&& payload.context === TimelineRenderingType.Room) {
|
||||
this.onCancelSearchClick();
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user