mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
user_groups: Rename is_member_of function to is_direct_member_of.
This commit is contained in:
@@ -47,7 +47,7 @@ export function can_edit(group_id) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return user_groups.is_member_of(group_id, people.my_current_user_id());
|
||||
return user_groups.is_direct_member_of(group_id, people.my_current_user_id());
|
||||
}
|
||||
|
||||
export function populate_user_groups() {
|
||||
|
||||
Reference in New Issue
Block a user