diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-04-12 20:56:58 -0700 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-04-12 20:56:58 -0700 |
commit | c41ba732c4b497eff59818b89bec7b123a8f398f (patch) | |
tree | 230b4e9fd0e3cefd1be45bf2fda3710151cd6bd6 /lib | |
parent | 7cbc5c587105a7add08d250458303c47bcd0e57a (diff) | |
download | patchfoo-c41ba732c4b497eff59818b89bec7b123a8f398f.tar.gz patchfoo-c41ba732c4b497eff59818b89bec7b123a8f398f.zip |
Fix pub/autofollow rendering
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render-msg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index 010d7a7..87e0364 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -362,8 +362,8 @@ RenderMsg.prototype.contact = function (cb) { self.link(self.c.contact, function (err, a) { if (err) return cb(err) self.wrapMini([ - self.c.following && self.c.autofollow ? 'autofollows' : - self.c.following && self.c.pub ? 'follows pub' : + self.c.following && self.c.autofollow ? 'follows pub' : + self.c.following && self.c.pub ? 'autofollows' : self.c.following ? 'follows' : self.c.blocking ? 'blocks' : self.c.following === false ? 'unfollows' : |