mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
mention: Mentions via subgroup should be highlighted.
This commit does not add highlighting to any pre-existing group mentions for which a user was part of the mentioned group via a subgroup. This only fixes it for mentions moving forward. Fixes https://chat.zulip.org/#narrow/channel/9-issues/topic/group.20mention.20not.20highlighted/near/2008541
This commit is contained in:
committed by
Tim Abbott
parent
3b3ab05f67
commit
0b4fe15c8a
@@ -205,7 +205,7 @@ export const update_elements = ($content: JQuery): void => {
|
||||
|
||||
const my_user_id = people.my_current_user_id();
|
||||
// Mark user group you're a member of.
|
||||
if (user_groups.is_direct_member_of(my_user_id, user_group_id)) {
|
||||
if (user_groups.is_user_in_group(user_group_id, my_user_id)) {
|
||||
$(this).addClass("user-mention-me");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user