parent
7125657636
commit
8f9e1631ae
|
@ -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)}`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue