From 299e45bd399be4986b40a7c95c9dd92b3a71acbd Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 24 Mar 2020 14:12:32 -0400 Subject: Don't auto-mention self in gathering thread --- lib/serve.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/serve.js b/lib/serve.js index e05cc56..e593f64 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -4558,7 +4558,10 @@ Serve.prototype.composer = function (opts, cb) { } if (data.mention_attendees) { - var attendeeLinks = u.toLinkArray(String(data.attendees || '').split(',')) + var attendeeLinks = u.toArray(String(data.attendees || '').split(',')) + .filter(function (id) { + return id !== myId + }) if (!content.mentions) content.mentions = attendeeLinks else { var alreadyMentioned = {} -- cgit v1.2.3