diff options
author | Marina Kukso <marina.kukso@gmail.com> | 2018-03-11 16:23:47 -1000 |
---|---|---|
committer | Marina Kukso <marina.kukso@gmail.com> | 2018-03-11 16:23:47 -1000 |
commit | 8136c551b5cc4d438f3b1bb4bfe897c2637a0ea8 (patch) | |
tree | 6ca95189be1700420616c4c3bce3fe0d67480dc8 /lib/app.js | |
parent | b1f5bccd58e994f7c32298cb8509a77914b0a0c8 (diff) | |
download | patchfoo-8136c551b5cc4d438f3b1bb4bfe897c2637a0ea8.tar.gz patchfoo-8136c551b5cc4d438f3b1bb4bfe897c2637a0ea8.zip |
allow loading before ssb-private
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ function App(sbot, config) { this.getMsgOoo = memo({cache: this.msgCache}, this.getMsgOoo) this.getAbout = memo({cache: this.aboutCache = lru(500)}, this._getAbout.bind(this)) - this.unboxContent = memo({cache: lru(100)}, sbot.private.unbox) + this.unboxContent = memo({cache: lru(100)}, function(value, cb){sbot.private.unbox(value, cb)}) this.reverseNameCache = lru(500) this.reverseEmojiNameCache = lru(500) this.getBlobSize = memo({cache: this.blobSizeCache = lru(100)}, |