mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +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['user_id'] = user_profile.id
|
||||||
state['enter_sends'] = user_profile.enter_sends
|
state['enter_sends'] = user_profile.enter_sends
|
||||||
state['email'] = user_profile.email
|
state['email'] = user_profile.email
|
||||||
|
state['delivery_email'] = user_profile.delivery_email
|
||||||
state['full_name'] = user_profile.full_name
|
state['full_name'] = user_profile.full_name
|
||||||
|
|
||||||
if want('realm_bot'):
|
if want('realm_bot'):
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class HomeTest(ZulipTestCase):
|
|||||||
"debug_mode",
|
"debug_mode",
|
||||||
"default_language",
|
"default_language",
|
||||||
"default_language_name",
|
"default_language_name",
|
||||||
|
"delivery_email",
|
||||||
"dense_mode",
|
"dense_mode",
|
||||||
"development_environment",
|
"development_environment",
|
||||||
"email",
|
"email",
|
||||||
|
|||||||
Reference in New Issue
Block a user