aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-12 20:56:58 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-12 20:56:58 -0700
commitc41ba732c4b497eff59818b89bec7b123a8f398f (patch)
tree230b4e9fd0e3cefd1be45bf2fda3710151cd6bd6 /lib/render-msg.js
parent7cbc5c587105a7add08d250458303c47bcd0e57a (diff)
downloadpatchfoo-c41ba732c4b497eff59818b89bec7b123a8f398f.tar.gz
patchfoo-c41ba732c4b497eff59818b89bec7b123a8f398f.zip
Fix pub/autofollow rendering
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js4
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' :