mirror of https://github.com/vector-im/riot-web
Make the initialSyncLimit configurable
I keep wanting to change this to test things, and can never find the right place to change it. Make it configurable.pull/21833/head
parent
4b13d71bb4
commit
4ce3598274
|
@ -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,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue