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

Commit 8cae093

Browse files
committed
Don't include counts in PUT room_keys response
1 parent 877918d commit 8cae093

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

synapse/handlers/e2e_room_keys.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,9 @@ async def upload_room_keys(
273273
user_id, version, None, version_etag
274274
)
275275

276-
count = await self.store.count_e2e_room_keys(user_id, version)
277-
return {"etag": str(version_etag), "count": count}
276+
# Beeper: Clients don't care, save some time
277+
# count = await self.store.count_e2e_room_keys(user_id, version)
278+
return {"etag": str(version_etag), "count": 0 }
278279

279280
@staticmethod
280281
def _should_replace_room_key(

0 commit comments

Comments
 (0)