diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-09-20 07:50:23 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-09-20 09:35:33 -1000 |
commit | a9feab3b1f5335b14fc0feba4da2b9fe40aa1224 (patch) | |
tree | bf6f10ae9a721c1f531b18b6aec9d84463485151 /lib/app.js | |
parent | 73022a68b920123bf3c150dbce5d5872f6f00669 (diff) | |
download | patchfoo-a9feab3b1f5335b14fc0feba4da2b9fe40aa1224.tar.gz patchfoo-a9feab3b1f5335b14fc0feba4da2b9fe40aa1224.zip |
Render npm package publishers
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -549,9 +549,11 @@ App.prototype.streamPrivate = function (opts) { App.prototype.blobMentions = function (opts) { if (!this.sbot.links2) return pull.error(new Error( 'missing ssb-links plugin')) + var filter = {rel: ['mentions', opts.name]} + if (opts.author) filter.source = opts.author return this.sbot.links2.read({ query: [ - {$filter: {rel: ['mentions', opts.name]}}, + {$filter: filter}, {$filter: {dest: {$prefix: '&'}}}, {$map: { name: ['rel', 1], |