mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-27 04:45:19 -04:00
Cross-signing [1/4] -- hidden devices (#5759)
* allow devices to be marked as "hidden" This is a prerequisite for cross-signing, as it allows us to create other things that live within the device namespace, so they can be used for signatures.
This commit is contained in:
parent
d1b5b055be
commit
f63ba7a795
4 changed files with 49 additions and 10 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