mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 14:24:55 -04:00
Look for keys on the right objects
This commit is contained in:
parent
f38df51e8d
commit
643b5fcdc8
3 changed files with 6 additions and 4 deletions
|
@ -51,7 +51,7 @@ def join_has_third_party_invite(content):
|
|||
def extract_join_keys(src):
|
||||
return {
|
||||
key: value
|
||||
for key, value in src["third_party_invite"].items()
|
||||
for key, value in src.items()
|
||||
if key in JOIN_KEYS
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue