Browse Source

Disable initial sync

develop
Drew Short 5 years ago
parent
commit
34fbb90b5b
  1. 4
      bot/bot.js

4
bot/bot.js

@ -66,7 +66,9 @@ class Bot {
let startServerConnection = async () => { let startServerConnection = async () => {
logger.info("Starting Matrix SDK Client"); logger.info("Starting Matrix SDK Client");
await this.client.startClient();
await this.client.startClient({
initialSyncLimit: 0
});
} }
let connectWithPassword = (err, data) => { let connectWithPassword = (err, data) => {

Loading…
Cancel
Save