From 5a169c09490be4d0810113843a4a1444a2471e05 Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 10 Dec 2019 09:05:39 +1300 Subject: Don't reply-mention self --- lib/serve.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/serve.js b/lib/serve.js index 9a2eeed..e865f75 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -3908,7 +3908,10 @@ Serve.prototype.composer = function (opts, cb) { ids[branch] = true }) links.forEach(function (link) { - if (ids[link.key]) reply[link.key] = link.value.author + if (ids[link.key]) { + var author = link.value.author + if (author !== myId) reply[link.key] = author + } }) if (Object.keys(reply).length > 0) content.reply = reply } -- cgit v1.2.3