mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 17:30:18 +08:00

When a user type a message with mentions, the autocomplete popup may suggest users or groups. We were adding all these object to the `currentMessage.mentionedUsers` collection, while we should have been adding only users. A group added to that collection led to the error later when trying to update user status on mentions.