Move aboutSelf to its own library
staltz opened this issue · comments
Basically take https://github.com/staltz/manyverse/blob/master/src/backend/plugins/aboutSelf.ts and publish it on npm, because we can't possibly recommend sbot.db.onDrain
+ sbot.db.getIndex('aboutSelf').getProfile(feedId)
as the official API for this.
The library is done, but still have to change ssb-db2 to replace it:
Done #388