aboutsummaryrefslogtreecommitdiff
path: root/lib/about.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-20 13:29:54 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-20 13:29:54 -1000
commit2febc8b4825c6d24f5e49340f57a6e1643cabc46 (patch)
treed778cc45a632fd63161624779706a46eb984e0db /lib/about.js
parent18de89483564e9cc8d76105efa9aaf7a71c8771e (diff)
downloadpatchfoo-2febc8b4825c6d24f5e49340f57a6e1643cabc46.tar.gz
patchfoo-2febc8b4825c6d24f5e49340f57a6e1643cabc46.zip
Fix preferring user's about choices
Diffstat (limited to 'lib/about.js')
-rw-r--r--lib/about.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/about.js b/lib/about.js
index 1d2c0ea..e94b7fc 100644
--- a/lib/about.js
+++ b/lib/about.js
@@ -103,7 +103,7 @@ About.prototype.get = function (dest, cb) {
// bias the author's choices by giving them an extra vote
aboutByFeed._author = aboutByFeed[dest]
var about = {}
- var myAbout = aboutByFeed[this.myId] || {}
+ var myAbout = aboutByFeed[self.myId] || {}
var topAbout = computeTopAbout(aboutByFeed)
for (var k in topAbout) about[k] = topAbout[k]
// always prefer own choices