mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
This commit removes get_huddle_recipient function and we now use get_or_create_huddle in get_recipient_from_user_profiles. As a result of this change, we do not fetch the recipient from Huddle object but instead get it using the "id" and "recipient_id" fields available from Huddle object like we do for a personal message. This change allows us to not fetch recipient object using select_related when querying the Huddle object.
3.8 KiB
3.8 KiB