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

Make the initialSyncLimit configurable
pull/21833/head
Richard van der Hoff 2016-02-25 14:19:31 +00:00
commit 2e5df1a96f
1 changed files with 1 additions and 1 deletions

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,
}); });
}, },