mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 22:19:48 +00:00
This is a small optimization to avoid DB queries if the bot owner is not changed. This also helps in avoiding showing the error message in UI if anything other than the owner is updated for a deactivated bot. Ideally if the bot owner is not changed, the bot_owner_id field should not be passed in the request, but we would handle that later given this is anyways a small nice optimization and we follow this pattern at other places as well in the API.
28 KiB
28 KiB