mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02: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:
parent
67a4d22e79
commit
c0681333bf
@ -334,7 +334,7 @@ export const Commands = [
|
||||
);
|
||||
dis.dispatch({
|
||||
action: Action.ViewRoom,
|
||||
eventId,
|
||||
event_id: eventId,
|
||||
highlighted: true,
|
||||
room_id: roomId,
|
||||
});
|
||||
|
||||
@ -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 });
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user