From 65646ff9e22c2adba36e59d001cbcb6c60b5082f Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 29 Jan 2020 15:06:19 +0000 Subject: [PATCH] Fix typo This would probably just cause apps to wait until the first live sync had finished rather than the one from the store, so slowing them down / breaking offline support. --- src/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.js b/src/client.js index b5dccc96c..eb92da542 100644 --- a/src/client.js +++ b/src/client.js @@ -507,7 +507,7 @@ MatrixClient.prototype.isInitialSyncComplete = function() { if (!state) { return false; } - return state === "PREPAED" || state === "SYNCING"; + return state === "PREPARED" || state === "SYNCING"; }; /**