mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
We used to access the complete objects for UserProfile foreign keys like "bot_owner" and "default_sending_stream", where we only needed ID of them. This commit fixes some of such instances and now we directly get the id using "bot_owner_id" and "default_sending_stream_id" so that we can avoid the unnecessary complexity of accessing the complete object.
6.7 KiB
6.7 KiB