aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/serve.js5
1 files changed, 4 insertions, 1 deletions
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 = {}