diff options
author | reivilibre <38398653+reivilibre@users.noreply.github.com> | 2021-07-27 15:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 15:25:39 +0100 |
commit | 10dcfae46f8c49f5fa544557ccf2e69346289e1d (patch) | |
tree | 0a325e6a5630d287348d30365782d1e14e097f99 | |
parent | Always communicate device OTK counts to clients (#10485) (diff) | |
download | synapse-10dcfae46f8c49f5fa544557ccf2e69346289e1d.tar.xz |
Fix typo that causes R30v2 to actually be old R30 (#10486)
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r-- | changelog.d/10486.bugfix | 1 | ||||
-rw-r--r-- | synapse/app/phone_stats_home.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/10486.bugfix b/changelog.d/10486.bugfix new file mode 100644 index 0000000000..7c65c16e96 --- /dev/null +++ b/changelog.d/10486.bugfix @@ -0,0 +1 @@ +Fix reporting old R30 stats as R30v2 stats. diff --git a/synapse/app/phone_stats_home.py b/synapse/app/phone_stats_home.py index 96defac1d2..86ad7337a9 100644 --- a/synapse/app/phone_stats_home.py +++ b/synapse/app/phone_stats_home.py @@ -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 |