Merge pull request #173 from matrix-org/rav/configurable_sync_limit

Make the initialSyncLimit configurable
This commit is contained in:
Richard van der Hoff 2016-02-26 13:55:25 +00:00
commit d5c83347a6

View file

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