Update synapse/handlers/e2e_keys.py

This commit is contained in:
Sean Quah 2022-09-09 14:26:33 +01:00 committed by GitHub
parent 5a12cb7346
commit d9287047dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,9 +190,6 @@ class E2eKeysHandler:
if invalid_cached_users:
# Fix up results. If we get here there may be bugs in device list
# tracking.
# TODO: is this actually useful? it doesn't fix the case where a
# remote user rejoins a room and we query their device list
# after.
user_ids_not_in_cache.update(invalid_cached_users)
for invalid_user_id in invalid_cached_users:
remote_results.pop(invalid_user_id)