don't mention OP - closes #4102
This commit is contained in:
parent
06727a4997
commit
3c192abba9
|
@ -50,5 +50,5 @@ final class MentionNotifier(notifyApi: NotifyApi, relationApi: RelationApi) {
|
|||
}
|
||||
|
||||
private def extractMentionedUsers(post: Post): Set[User.ID] =
|
||||
lila.common.String.atUsernameRegex.findAllMatchIn(post.text).map(_ group 1).toSet
|
||||
lila.common.String.atUsernameRegex.findAllMatchIn(post.text).map(_ group 1).toSet - ~post.author
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue