mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 12:54:58 +00:00
Add delivery_email field to page_params.
This allows the frontend to use the `delivery_email` field for display use.
This commit is contained in:
@@ -228,6 +228,7 @@ def fetch_initial_state_data(user_profile: UserProfile,
|
||||
state['user_id'] = user_profile.id
|
||||
state['enter_sends'] = user_profile.enter_sends
|
||||
state['email'] = user_profile.email
|
||||
state['delivery_email'] = user_profile.delivery_email
|
||||
state['full_name'] = user_profile.full_name
|
||||
|
||||
if want('realm_bot'):
|
||||
|
||||
@@ -57,6 +57,7 @@ class HomeTest(ZulipTestCase):
|
||||
"debug_mode",
|
||||
"default_language",
|
||||
"default_language_name",
|
||||
"delivery_email",
|
||||
"dense_mode",
|
||||
"development_environment",
|
||||
"email",
|
||||
|
||||
Reference in New Issue
Block a user