Switch /timestamp_to_event from unstable to stable v1 #142 (#154)

This commit is contained in:
Philip Durbin 2023-02-16 21:52:28 -05:00 committed by GitHub
parent 7125657636
commit 8f9e1631ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ async function timestampToEvent({ accessToken, roomId, ts, direction }) {
const timestampToEventEndpoint = urlJoin( const timestampToEventEndpoint = urlJoin(
matrixServerUrl, matrixServerUrl,
`_matrix/client/unstable/org.matrix.msc3030/rooms/${encodeURIComponent( `_matrix/client/v1/rooms/${encodeURIComponent(
roomId roomId
)}/timestamp_to_event?ts=${encodeURIComponent(ts)}&dir=${encodeURIComponent(direction)}` )}/timestamp_to_event?ts=${encodeURIComponent(ts)}&dir=${encodeURIComponent(direction)}`
); );