mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
This code is actually a noop (and would be a bug if it wasn't a noop), because when this runs the server is already initialized, meaning the internal realm exists and the system bots have been created, so UserProfile.objects.filter(email=email) is always truthy. Also, system bots are supposed to live in the internal realm, not in the realm being imported so this code doesn't make sense currently.
3.6 KiB
3.6 KiB