Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix typo that causes R30v2 to actually be old R30 (#10486)
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
  • Loading branch information
reivilibre authored Jul 27, 2021
1 parent 74d09a4 commit 10dcfae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/10486.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix reporting old R30 stats as R30v2 stats.
2 changes: 1 addition & 1 deletion synapse/app/phone_stats_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async def phone_stats_home(hs, stats, stats_process=_stats_process):
for name, count in r30_results.items():
stats["r30_users_" + name] = count

r30v2_results = await store.count_r30_users()
r30v2_results = await store.count_r30v2_users()
for name, count in r30v2_results.items():
stats["r30v2_users_" + name] = count

Expand Down

0 comments on commit 10dcfae

Please sign in to comment.