aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-10-28 14:17:41 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-10-28 14:17:41 -1000
commit80435e39321a8a5aef016c2d73f0580ab05d6708 (patch)
tree53b775ad83a0976e5d5fc18ba5158c8b30445377 /lib/app.js
parent04ddfa4303f4622f80128dad2dc84a7a30e73f67 (diff)
downloadpatchfoo-80435e39321a8a5aef016c2d73f0580ab05d6708.tar.gz
patchfoo-80435e39321a8a5aef016c2d73f0580ab05d6708.zip
Let About info from feeds we follow take precedence
over About info from feeds we do not follow
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index ed936ec..fa26b25 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -50,7 +50,6 @@ function App(sbot, config) {
codeInTextareas: conf.codeInTextareas,
}
- this.about = new About(this, sbot.id)
this.msgCache = lru(100)
this.getMsg = memo({cache: this.msgCache}, getMsgWithValue, sbot)
this.getMsgOoo = memo({cache: this.msgCache}, this.getMsgOoo)
@@ -70,6 +69,7 @@ function App(sbot, config) {
this.git = new Git(this.sbot, this.config)
this.contacts = new Contacts(this.sbot)
this.follows = new Follows(this.sbot, this.contacts)
+ this.about = new About(this, sbot.id, this.follows)
this.serveSsbNpmRegistry = SsbNpmRegistry.respond(this.sbot, this.config)
this.monitorBlobWants()