diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-10-15 13:10:30 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-10-15 13:10:30 +0100 |
commit | 643b5fcdc81d8f2e39a97dd1a94c78cd8769c613 (patch) | |
tree | b05cfe5f96645b69635e46d235b963a277c1410b /synapse/util/third_party_invites.py | |
parent | Merge branch 'develop' into daniel/3pidinvites (diff) | |
download | synapse-643b5fcdc81d8f2e39a97dd1a94c78cd8769c613.tar.xz |
Look for keys on the right objects
Diffstat (limited to 'synapse/util/third_party_invites.py')
-rw-r--r-- | synapse/util/third_party_invites.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/third_party_invites.py b/synapse/util/third_party_invites.py index 45ae31d80c..41e597d5b9 100644 --- a/synapse/util/third_party_invites.py +++ b/synapse/util/third_party_invites.py @@ -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 } |