mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
settings: Add email_address_visbility user setting.
This commit is contained in:
@@ -222,6 +222,9 @@ def json_change_settings(
|
||||
user_list_style: Optional[int] = REQ(
|
||||
json_validator=check_int_in(UserProfile.USER_LIST_STYLE_CHOICES), default=None
|
||||
),
|
||||
email_address_visibility: Optional[int] = REQ(
|
||||
json_validator=check_int_in(UserProfile.EMAIL_ADDRESS_VISIBILITY_TYPES), default=None
|
||||
),
|
||||
) -> HttpResponse:
|
||||
if (
|
||||
default_language is not None
|
||||
|
||||
Reference in New Issue
Block a user