mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
events: Include realm_plan_type in initial state data.
This commit is contained in:
parent
69627c9ee4
commit
ef3fbfeb98
@ -202,6 +202,7 @@ def fetch_initial_state_data(user_profile: UserProfile,
|
||||
state['realm_password_auth_enabled'] = password_auth_enabled(realm)
|
||||
state['realm_push_notifications_enabled'] = push_notifications_enabled()
|
||||
state['realm_upload_quota'] = realm.upload_quota_bytes()
|
||||
state['realm_plan_type'] = realm.plan_type
|
||||
|
||||
if realm.notifications_stream and not realm.notifications_stream.deactivated:
|
||||
notifications_stream = realm.notifications_stream
|
||||
|
||||
@ -164,6 +164,7 @@ class HomeTest(ZulipTestCase):
|
||||
"realm_non_active_users",
|
||||
"realm_notifications_stream_id",
|
||||
"realm_password_auth_enabled",
|
||||
"realm_plan_type",
|
||||
"realm_presence_disabled",
|
||||
"realm_push_notifications_enabled",
|
||||
"realm_send_welcome_emails",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user