Allow message attachments to generate mentions
SUMMARY
Notifications are not being generated for user names in message attachments (in my case specifically in fields) that are generated via a webhook.
STEPS TO REPRODUCE
Create a new message containing attachments/fields via a web hook. Include the name of the user in the attachment field. The name will not be recognized and tagged.
EXPECTED BEHAVIOUR
Mattermost would recognize a user's name, as defined in their notification preferences, when mentioned in a message that has an attachment/fields. Notifications would be generated for the user the same as if they are mentioned in a regular message.
![](https://secure.gravatar.com/avatar/aeb85a2a22b1b5b159d9e7359048c0a7?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)