Look for keys on the right objects

This commit is contained in:
Daniel Wagner-Hall 2015-10-15 13:10:30 +01:00
parent f38df51e8d
commit 643b5fcdc8
3 changed files with 6 additions and 4 deletions

View file

@ -364,7 +364,9 @@ class FederationClient(FederationBase):
args = {}
if third_party_invites.join_has_third_party_invite(content):
args = third_party_invites.extract_join_keys(content)
args = third_party_invites.extract_join_keys(
content["third_party_invite"]
)
try:
ret = yield self.transport_layer.make_join(
destination, room_id, user_id, args