mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
We now fetch recipient object when querying "Huddle" object in get_or_create_huddle_backend as this query is eventually used to get the recipient object only in get_huddle_recipient. This commit also updates the select_related call in the code to populate Huddle objects in cache to pass "Recipient" as argument. Previously no argument was passed to select_related and thus no related objects were being fetched, with no non-null related fields being present.
5.0 KiB
5.0 KiB