mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
This commit adds code to pass all the required arguments to select_related call for MissedMessageEmailAddress such that only the required related fields are fetched from the database. Previously, we did not pass any arguments to select_related, so all the directly and indirectly related fields were fetched when many of them were actually not being used and made the query unnecessarily complex.
18 KiB
18 KiB