mirror of https://github.com/zulip/zulip.git
parent
6d2785c853
commit
79c989916d
|
@ -111,6 +111,7 @@ def fetch_initial_state_data(user_profile, event_types, queue_id,
|
|||
state['max_icon_file_size'] = settings.MAX_ICON_FILE_SIZE
|
||||
state['realm_bot_domain'] = user_profile.realm.get_bot_domain()
|
||||
state['realm_uri'] = user_profile.realm.uri
|
||||
state['realm_presence_disabled'] = user_profile.realm.presence_disabled
|
||||
|
||||
if want('realm_domains'):
|
||||
state['realm_domains'] = get_realm_domains(user_profile.realm)
|
||||
|
|
|
@ -215,7 +215,6 @@ def home_real(request):
|
|||
name_changes_disabled = name_changes_disabled(user_profile.realm),
|
||||
mandatory_topics = user_profile.realm.mandatory_topics,
|
||||
show_digest_email = user_profile.realm.show_digest_email,
|
||||
realm_presence_disabled = user_profile.realm.presence_disabled,
|
||||
is_zephyr_mirror_realm = user_profile.realm.is_zephyr_mirror_realm,
|
||||
|
||||
# user_profile data.
|
||||
|
@ -311,6 +310,7 @@ def home_real(request):
|
|||
'realm_name',
|
||||
'realm_description',
|
||||
'realm_name_changes_disabled',
|
||||
'realm_presence_disabled',
|
||||
'realm_restricted_to_domain',
|
||||
'realm_uri',
|
||||
'realm_waiting_period_threshold',
|
||||
|
|
Loading…
Reference in New Issue