Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

Partially revert "home: Enable partial_subscribers in web app."

Tim Abbott5b00cb6753c6
diff --git a/zerver/lib/home.py b/zerver/lib/home.py
index d38fa0d994d..aabcec67838 100644
--- a/zerver/lib/home.py
+++ b/zerver/lib/home.py
@@ -1,4 +1,5 @@
import calendar
+import os
import time
from dataclasses import dataclass
from urllib.parse import urlsplit
@@ -109,7 +110,7 @@ def build_page_params_for_home_page_load(
if user_profile is not None:
client = RequestNotes.get_notes(request).client
assert client is not None
- partial_subscribers = True
+ partial_subscribers = os.environ.get("PARTIAL_SUBSCRIBERS") is not None
state_data = do_events_register(
user_profile,
realm,