You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
rename pagination token option to from, more in line with cs api
This commit is contained in:
@@ -442,8 +442,8 @@ MatrixBaseApis.prototype.createRoom = function(options, callback) {
|
||||
MatrixBaseApis.prototype.fetchRelations =
|
||||
async function(roomId, eventId, relationType, eventType, opts) {
|
||||
const queryParams = {};
|
||||
if (opts.token) {
|
||||
queryParams.from = opts.token;
|
||||
if (opts.from) {
|
||||
queryParams.from = opts.from;
|
||||
}
|
||||
const queryString = utils.encodeParams(queryParams);
|
||||
const path = utils.encodeUri(
|
||||
|
||||
Reference in New Issue
Block a user