apply renamed (token -> from) option

This commit is contained in:
Bruno Windels 2019-06-26 15:49:24 +02:00
parent 498db2597d
commit fa0319f14b

View File

@ -42,7 +42,7 @@ export default class MessageEditHistoryDialog extends React.Component {
// bail out on backwards as we only paginate in one direction
return false;
}
const opts = {token: this.state.nextBatch};
const opts = {from: this.state.nextBatch};
const roomId = this.props.mxEvent.getRoomId();
const eventId = this.props.mxEvent.getId();
const result = await MatrixClientPeg.get().relations(