mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
dc1eeef30a
made the column nullable, with the meaning for null of "use the current `settings.INVITES_DEFAULT_REALM_DAILY_MAX`." However,8a95526ced
switched to calling `do_change_plan_type` during realm creation, which sets `realm.max_invites` based on the plan type, thus ensuring that no new realms have their `_max_invites` set to null. Check `max_invites` instead of `_max_invites`. This requires test adjustments for the fact that `apply_invite_realm_heuristics` is now run.