Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
counts: Don't allow syncing mobile_pushes_forwarded::day count.
Mateusz Mandera2512e66c0680
diff --git a/analytics/lib/counts.py b/analytics/lib/counts.pyindex b2cb5d08095..602c21b07c7 100644--- a/analytics/lib/counts.py+++ b/analytics/lib/counts.py@@ -879,7 +879,10 @@ def get_count_stats(realm: Optional[Realm] = None) -> Dict[str, CountStat]:# These properties are tracked by the bouncer itself and therefore syncing them# from a remote server should not be allowed - or the server would be able to interfere# with our data.-BOUNCER_ONLY_REMOTE_COUNT_STAT_PROPERTIES = ["mobile_pushes_received::day"]+BOUNCER_ONLY_REMOTE_COUNT_STAT_PROPERTIES = [+ "mobile_pushes_received::day",+ "mobile_pushes_forwarded::day",+]# To avoid refactoring for now COUNT_STATS can be used as beforeCOUNT_STATS = get_count_stats()