pull/2281/head
Erik Johnston 2017-06-15 10:49:10 +01:00
parent 4b461a6931
commit 5ddd199870
1 changed files with 3 additions and 1 deletions

View File

@ -415,7 +415,9 @@ def run(hs):
stats["timestamp"] = now stats["timestamp"] = now
stats["uptime_seconds"] = uptime stats["uptime_seconds"] = uptime
stats["total_users"] = yield hs.get_datastore().count_all_users() stats["total_users"] = yield hs.get_datastore().count_all_users()
stats["total_users"] = yield hs.get_datastore().count_nonbridged_users()
total_nonbridged_users = yield hs.get_datastore().count_nonbridged_users()
stats["total_nonbridged_users"] = total_nonbridged_users
room_count = yield hs.get_datastore().get_room_count() room_count = yield hs.get_datastore().get_room_count()
stats["total_room_count"] = room_count stats["total_room_count"] = room_count