summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-10-15 13:10:30 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-10-15 13:10:30 +0100
commit643b5fcdc81d8f2e39a97dd1a94c78cd8769c613 (patch)
treeb05cfe5f96645b69635e46d235b963a277c1410b /synapse/util
parentMerge branch 'develop' into daniel/3pidinvites (diff)
downloadsynapse-643b5fcdc81d8f2e39a97dd1a94c78cd8769c613.tar.xz
Look for keys on the right objects
Diffstat (limited to 'synapse/util')
-rw-r--r--synapse/util/third_party_invites.py2
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
     }