mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
user_groups: Rename is_member_of function to is_direct_member_of.
This commit is contained in:
@@ -113,7 +113,7 @@ export const update_elements = ($content) => {
|
||||
|
||||
const my_user_id = people.my_current_user_id();
|
||||
// Mark user group you're a member of.
|
||||
if (user_groups.is_member_of(user_group_id, my_user_id)) {
|
||||
if (user_groups.is_direct_member_of(user_group_id, my_user_id)) {
|
||||
$(this).addClass("user-mention-me");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user