Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_groups: Change return type "NamedUserGroup" to "UserGroup".
bedo121265b1885a
diff --git a/zerver/lib/user_groups.py b/zerver/lib/user_groups.pyindex acb31a7f287..64a4f8e5269 100644--- a/zerver/lib/user_groups.py+++ b/zerver/lib/user_groups.py@@ -916,7 +916,7 @@ def get_recursive_subgroups_for_groups(def get_root_id_annotated_recursive_subgroups_for_groups(user_group_ids: Iterable[int], realm_id: int-) -> QuerySet[NamedUserGroup]:+) -> QuerySet[UserGroup]:# Same as get_recursive_subgroups_for_groups but keeps track of# each group root_id and annotates it with that group.