mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
home.py: move is_zephyr_mirror_realm as realm_is_zephyr_mirror_realm.
Part of #3853.
This commit is contained in:
@@ -583,7 +583,7 @@ function validate_private_message() {
|
||||
if (compose_state.recipient() === "") {
|
||||
compose_error(i18n.t("Please specify at least one recipient"), $("#private_message_recipient"));
|
||||
return false;
|
||||
} else if (page_params.is_zephyr_mirror_realm) {
|
||||
} else if (page_params.realm_is_zephyr_mirror_realm) {
|
||||
// For Zephyr mirroring realms, the frontend doesn't know which users exist
|
||||
return true;
|
||||
}
|
||||
@@ -655,7 +655,7 @@ $(function () {
|
||||
}
|
||||
|
||||
// Disable for Zephyr mirroring realms, since we never have subscriber lists there
|
||||
if (page_params.is_zephyr_mirror_realm) {
|
||||
if (page_params.realm_is_zephyr_mirror_realm) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user