mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
@@ -110,6 +110,7 @@ def fetch_initial_state_data(user_profile, event_types, queue_id,
|
|||||||
state['realm_icon_source'] = user_profile.realm.icon_source
|
state['realm_icon_source'] = user_profile.realm.icon_source
|
||||||
state['max_icon_file_size'] = settings.MAX_ICON_FILE_SIZE
|
state['max_icon_file_size'] = settings.MAX_ICON_FILE_SIZE
|
||||||
state['realm_bot_domain'] = user_profile.realm.get_bot_domain()
|
state['realm_bot_domain'] = user_profile.realm.get_bot_domain()
|
||||||
|
state['realm_uri'] = user_profile.realm.uri
|
||||||
|
|
||||||
if want('realm_domains'):
|
if want('realm_domains'):
|
||||||
state['realm_domains'] = get_realm_domains(user_profile.realm)
|
state['realm_domains'] = get_realm_domains(user_profile.realm)
|
||||||
|
|||||||
@@ -211,7 +211,6 @@ def home_real(request):
|
|||||||
|
|
||||||
# realm data.
|
# realm data.
|
||||||
# TODO: Move all of these data to register_ret and pull from there
|
# TODO: Move all of these data to register_ret and pull from there
|
||||||
realm_uri = user_profile.realm.uri,
|
|
||||||
password_auth_enabled = password_auth_enabled(user_profile.realm),
|
password_auth_enabled = password_auth_enabled(user_profile.realm),
|
||||||
domains = list_of_domains_for_realm(user_profile.realm),
|
domains = list_of_domains_for_realm(user_profile.realm),
|
||||||
name_changes_disabled = name_changes_disabled(user_profile.realm),
|
name_changes_disabled = name_changes_disabled(user_profile.realm),
|
||||||
@@ -313,6 +312,7 @@ def home_real(request):
|
|||||||
'realm_description',
|
'realm_description',
|
||||||
'realm_name_changes_disabled',
|
'realm_name_changes_disabled',
|
||||||
'realm_restricted_to_domain',
|
'realm_restricted_to_domain',
|
||||||
|
'realm_uri',
|
||||||
'realm_waiting_period_threshold',
|
'realm_waiting_period_threshold',
|
||||||
'referrals',
|
'referrals',
|
||||||
'twenty_four_hour_time',
|
'twenty_four_hour_time',
|
||||||
|
|||||||
Reference in New Issue
Block a user