diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-23 13:00:07 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-23 13:30:56 -1000 |
commit | 54db98a9cf71d5f79379ab83c12474a688f0d5ae (patch) | |
tree | a55199f949e51a7db2817b490844e13efe95f99f /lib/app.js | |
parent | 0ba75f061e35ca3b04aaf7e911bbcb089b473c2a (diff) | |
download | patchfoo-54db98a9cf71d5f79379ab83c12474a688f0d5ae.tar.gz patchfoo-54db98a9cf71d5f79379ab83c12474a688f0d5ae.zip |
Add about-diff page
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1135,6 +1135,17 @@ App.prototype.getThread = function (msg) { ]) } +App.prototype.getLinks = function (id) { + return this.sbot.backlinks ? this.sbot.backlinks.read({ + query: [ + {$filter: {dest: id}} + ] + }) : this.sbotLinks({ + dest: id, + values: true + }) +} + App.prototype.getShard = function (id, cb) { var self = this this.getMsgDecrypted(id, function (err, msg) { |