counts: Don't allow syncing mobile_pushes_forwarded::day count.

6819ecee92 forgot to add this.
This commit is contained in:
Mateusz Mandera 2023-11-09 16:16:40 +01:00 committed by Tim Abbott
parent 8a6d5b4997
commit 2512e66c06
1 changed files with 4 additions and 1 deletions

View File

@ -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 before
COUNT_STATS = get_count_stats()