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

Commit 90c2601

Browse files
committed
Don't include counts in GET room_keys/version response
1 parent 8cae093 commit 90c2601

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

synapse/handlers/e2e_room_keys.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,9 @@ async def get_version_info(
369369
else:
370370
raise
371371

372-
res["count"] = await self.store.count_e2e_room_keys(user_id, res["version"])
372+
# # Beeper: Clients don't care, save some time
373+
# res["count"] = await self.store.count_e2e_room_keys(user_id, res["version"])
374+
res["count"] = 0
373375
res["etag"] = str(res["etag"])
374376
return res
375377

0 commit comments

Comments
 (0)