From 34fbb90b5bf0b0f14b3243f03af28dc139576fc3 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Tue, 7 Jan 2020 15:08:58 -0600 Subject: [PATCH] Disable initial sync --- bot/bot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot/bot.js b/bot/bot.js index 16f31f1..e5f335f 100644 --- a/bot/bot.js +++ b/bot/bot.js @@ -66,7 +66,9 @@ class Bot { let startServerConnection = async () => { logger.info("Starting Matrix SDK Client"); - await this.client.startClient(); + await this.client.startClient({ + initialSyncLimit: 0 + }); } let connectWithPassword = (err, data) => {