From d51ccc5142d4429b324bedb37b96fd5e2bcee4f0 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 18 Jun 2018 13:49:42 -0400 Subject: Render tag messages --- lib/about.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/about.js') diff --git a/lib/about.js b/lib/about.js index 6d04355..29ec125 100644 --- a/lib/about.js +++ b/lib/about.js @@ -93,6 +93,10 @@ About.prototype.get = function (dest, cb) { var author = msg.value.author var c = msg.value.content if (!c) return + if (msg.key === dest && c.type === 'about') { + // don't describe an about message with itself + return + } var about = aboutByFeed[author] || (aboutByFeed[author] = {}) if (c.name) about.name = c.name if (c.title) about.title = c.title -- cgit v1.2.3