fix mapping of return values for get_or_register_3pid_guest (#5177)

* fix mapping of return values for get_or_register_3pid_guest
This commit is contained in:
bytepoets-blo 2019-05-17 18:27:14 +02:00 committed by Neil Johnson
parent 85ece3df46
commit 291e1eea5e
2 changed files with 2 additions and 1 deletions

1
changelog.d/5177.bugfix Normal file
View File

@ -0,0 +1 @@
Fix 3pid guest invites.

View File

@ -944,7 +944,7 @@ class RoomMemberHandler(object):
}
if self.config.invite_3pid_guest:
guest_access_token, guest_user_id = yield self.get_or_register_3pid_guest(
guest_user_id, guest_access_token = yield self.get_or_register_3pid_guest(
requester=requester,
medium=medium,
address=address,