Remove automatic mentions from private threads

Problem: When replying to a private thread we already know who the
recipients are, and they're already going to get the notification, so
there's really no reason to add a mention.

Solution: Remove the mention when the message is private.
This commit is contained in:
Christian Bundy 2020-02-12 10:55:02 -08:00
parent ca7e558a33
commit 2bc3aed067
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ exports.commentView = async ({ messages, myFeedId, parentMessage }) => {
required: true,
name: "text"
},
markdownMention
isPrivate ? null : markdownMention
),
button(
{