You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-10-29 14:29:29 +03:00
Fix /jumptodate using wrong MSC feature flag (#7563)
As reported by @turt2live, https://matrix.to/#/!EMAlzkQQlZGEVTkDnD:matrix.org/$gnoVWQnIkYYL1i1cL8A4qRKJCFpNtq0Oj5khpzOq1mQ?via=half-shot.uk&via=matrix.org&via=element.io Also fixes camelCase typo
This commit is contained in:
@@ -334,7 +334,7 @@ export const Commands = [
|
|||||||
);
|
);
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: Action.ViewRoom,
|
action: Action.ViewRoom,
|
||||||
eventId,
|
event_id: eventId,
|
||||||
highlighted: true,
|
highlighted: true,
|
||||||
room_id: roomId,
|
room_id: roomId,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export default class LabsUserSettingsTab extends React.Component<{}, IState> {
|
|||||||
this.setState({ showHiddenReadReceipts });
|
this.setState({ showHiddenReadReceipts });
|
||||||
});
|
});
|
||||||
|
|
||||||
MatrixClientPeg.get().doesServerSupportUnstableFeature("org.matrix.msc2716").then((showJumpToDate) => {
|
MatrixClientPeg.get().doesServerSupportUnstableFeature("org.matrix.msc3030").then((showJumpToDate) => {
|
||||||
this.setState({ showJumpToDate });
|
this.setState({ showJumpToDate });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user