mirror of
https://github.com/discourse/discourse.git
synced 2025-06-26 07:41:42 +08:00

**Description**
These changes were introduced in a previous PR but were reverted due to
a bug when several users were mentioned in a response. This PR
reintroduces the changes along with a fix to the issue.
This is part of a series of changes to allow customers to display users'
names instead of the user's username.
When a user belongs to a group that has been mentioned by another user.
It shows the name of the user that mentioned the group.
[Previous
commit](e147d2afe6
)
**Before**

**After**

When a email is sent to the user when mentioned in a post
**Before**

**After**
