mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 07:21:37 +01:00
Fix typo that causes R30v2 to actually be old R30 (#10486)
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
parent
74d09a43d9
commit
10dcfae46f
2 changed files with 2 additions and 1 deletions
1
changelog.d/10486.bugfix
Normal file
1
changelog.d/10486.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix reporting old R30 stats as R30v2 stats.
|
|
@ -109,7 +109,7 @@ async def phone_stats_home(hs, stats, stats_process=_stats_process):
|
||||||
for name, count in r30_results.items():
|
for name, count in r30_results.items():
|
||||||
stats["r30_users_" + name] = count
|
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():
|
for name, count in r30v2_results.items():
|
||||||
stats["r30v2_users_" + name] = count
|
stats["r30v2_users_" + name] = count
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue