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 typopull/21833/head
parent
67a4d22e79
commit
c0681333bf
|
@ -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 });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue