You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
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.
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user