Use new pendingEventList functionality from matrix-js-sdk

Update react-sdk to use `pendingEventOrdering`==`detached` instead of
`end`. Look for pending events in the pendingEvent list, and use
MatrixClient.cancelPendingEvent to, uh, cancel pending events.
This commit is contained in:
Richard van der Hoff 2016-03-17 22:26:06 +00:00
parent d1dbce8adf
commit b93af2d536
4 changed files with 26 additions and 35 deletions

View file

@ -702,7 +702,7 @@ module.exports = React.createClass({
UserActivity.start();
Presence.start();
cli.startClient({
pendingEventOrdering: "end",
pendingEventOrdering: "detached",
initialSyncLimit: this.props.config.sync_timeline_limit || 20,
});
},