mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
@@ -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['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
|
state['realm_uri'] = user_profile.realm.uri
|
||||||
|
state['realm_presence_disabled'] = user_profile.realm.presence_disabled
|
||||||
|
|
||||||
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)
|
||||||
|
|||||||
@@ -215,7 +215,6 @@ def home_real(request):
|
|||||||
name_changes_disabled = name_changes_disabled(user_profile.realm),
|
name_changes_disabled = name_changes_disabled(user_profile.realm),
|
||||||
mandatory_topics = user_profile.realm.mandatory_topics,
|
mandatory_topics = user_profile.realm.mandatory_topics,
|
||||||
show_digest_email = user_profile.realm.show_digest_email,
|
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,
|
is_zephyr_mirror_realm = user_profile.realm.is_zephyr_mirror_realm,
|
||||||
|
|
||||||
# user_profile data.
|
# user_profile data.
|
||||||
@@ -311,6 +310,7 @@ def home_real(request):
|
|||||||
'realm_name',
|
'realm_name',
|
||||||
'realm_description',
|
'realm_description',
|
||||||
'realm_name_changes_disabled',
|
'realm_name_changes_disabled',
|
||||||
|
'realm_presence_disabled',
|
||||||
'realm_restricted_to_domain',
|
'realm_restricted_to_domain',
|
||||||
'realm_uri',
|
'realm_uri',
|
||||||
'realm_waiting_period_threshold',
|
'realm_waiting_period_threshold',
|
||||||
|
|||||||
Reference in New Issue
Block a user