apply renamed (token -> from) option

pull/21833/head
Bruno Windels 2019-06-26 15:49:24 +02:00
parent 498db2597d
commit fa0319f14b
1 changed files with 1 additions and 1 deletions

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(