mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-29 02:28:37 -04:00
apply changes from PR review
This commit is contained in:
parent
d1c7c2a98a
commit
781ade836b
3 changed files with 17 additions and 20 deletions
|
@ -85,7 +85,7 @@ class EndToEndKeyWorkerStore(SQLBaseStore):
|
|||
" k.key_json"
|
||||
" FROM devices d"
|
||||
" %s JOIN e2e_device_keys_json k USING (user_id, device_id)"
|
||||
" WHERE %s"
|
||||
" WHERE %s AND NOT d.hidden"
|
||||
) % (
|
||||
"LEFT" if include_all_devices else "INNER",
|
||||
" OR ".join("(" + q + ")" for q in query_clauses),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue