diff --git a/migrate.js b/migrate.js index c8490f12..8556de2a 100644 --- a/migrate.js +++ b/migrate.js @@ -327,7 +327,11 @@ exports.init = function init(sbot, config) { } }) } else { - if (sbot.db) sbot.db.loadStateFeeds() + if (sbot.db) { + sbot.db.loadStateFeeds(() => { + sbot.db.setStateFeedsReady(true) + }) + } doneMigrating() migrateLive() }