From c41ba732c4b497eff59818b89bec7b123a8f398f Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 12 Apr 2017 20:56:58 -0700 Subject: Fix pub/autofollow rendering --- lib/render-msg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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' : -- cgit v1.2.3