diff --git a/node_modules/ssb-friends/index.js b/node_modules/ssb-friends/index.js index 2d8cab6..e975a5f 100644 --- a/node_modules/ssb-friends/index.js +++ b/node_modules/ssb-friends/index.js @@ -2,7 +2,7 @@ const LayeredGraph = require('layered-graph') const isFeed = require('ssb-ref').isFeed const contacts = require('./contacts') -const db2Contacts = require('./db2-contacts') +// const db2Contacts = require('./db2-contacts') const setupLegacy = require('./legacy') const help = require('./help') const authGlue = require('./glue/auth') @@ -35,6 +35,7 @@ exports.init = function (sbot, config) { layered.max = max if (sbot.db) { + throw new Error('if you are upgrading to db2, you have to re-enable this!') sbot.db.registerIndex(db2Contacts(layered.createLayer)) } else { contacts(sbot, layered.createLayer, config)