You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Implement deep-linking for threads (matrix.to) (#7003)
This commit is contained in:
@@ -75,6 +75,8 @@ interface IState {
|
||||
groupRoomId?: string;
|
||||
groupId?: string;
|
||||
event: MatrixEvent;
|
||||
initialEvent?: MatrixEvent;
|
||||
initialEventHighlighted?: boolean;
|
||||
}
|
||||
|
||||
@replaceableComponent("structures.RightPanel")
|
||||
@@ -209,6 +211,8 @@ export default class RightPanel extends React.Component<IProps, IState> {
|
||||
groupId: payload.groupId,
|
||||
member: payload.member,
|
||||
event: payload.event,
|
||||
initialEvent: payload.initialEvent,
|
||||
initialEventHighlighted: payload.highlighted,
|
||||
verificationRequest: payload.verificationRequest,
|
||||
verificationRequestPromise: payload.verificationRequestPromise,
|
||||
widgetId: payload.widgetId,
|
||||
@@ -244,7 +248,7 @@ export default class RightPanel extends React.Component<IProps, IState> {
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
public render(): JSX.Element {
|
||||
let panel = <div />;
|
||||
const roomId = this.props.room ? this.props.room.roomId : undefined;
|
||||
|
||||
@@ -327,6 +331,8 @@ export default class RightPanel extends React.Component<IProps, IState> {
|
||||
resizeNotifier={this.props.resizeNotifier}
|
||||
onClose={this.onClose}
|
||||
mxEvent={this.state.event}
|
||||
initialEvent={this.state.initialEvent}
|
||||
initialEventHighlighted={this.state.initialEventHighlighted}
|
||||
permalinkCreator={this.props.permalinkCreator}
|
||||
e2eStatus={this.props.e2eStatus} />;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user