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:
Eric Eastwood 2022-01-18 09:51:25 -06:00 committed by GitHub
parent 67a4d22e79
commit c0681333bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ export const Commands = [
);
dis.dispatch({
action: Action.ViewRoom,
eventId,
event_id: eventId,
highlighted: true,
room_id: roomId,
});

View file

@ -61,7 +61,7 @@ export default class LabsUserSettingsTab extends React.Component<{}, IState> {
this.setState({ showHiddenReadReceipts });
});
MatrixClientPeg.get().doesServerSupportUnstableFeature("org.matrix.msc2716").then((showJumpToDate) => {
MatrixClientPeg.get().doesServerSupportUnstableFeature("org.matrix.msc3030").then((showJumpToDate) => {
this.setState({ showJumpToDate });
});