summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-12-17 18:29:22 +0100
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-12-17 18:29:22 +0100
commit10f82b4bea44a2c0dc4d2846fa5663d39be0f45f (patch)
tree88ff46299b4dd435579e172add4e4e29231c1dad /synapse/api/auth.py
parentMerge pull request #447 from matrix-org/rav/fix_search_pagination (diff)
parentStrip address and such out of 3pid invites (diff)
downloadsynapse-10f82b4bea44a2c0dc4d2846fa5663d39be0f45f.tar.xz
Merge pull request #448 from matrix-org/daniel/3pid
Strip address and such out of 3pid invites
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index b9c3e6d2c4..adb7d64482 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -778,7 +778,7 @@ class Auth(object):
                 if "third_party_invite" in event.content:
                     key = (
                         EventTypes.ThirdPartyInvite,
-                        event.content["third_party_invite"]["token"]
+                        event.content["third_party_invite"]["signed"]["token"]
                     )
                     third_party_invite = current_state.get(key)
                     if third_party_invite: