fix mapping of return values for get_or_register_3pid_guest (#5177)

* fix mapping of return values for get_or_register_3pid_guest
pull/14/head
bytepoets-blo 6 years ago committed by Neil Johnson
parent 85ece3df46
commit 291e1eea5e
  1. 1
      changelog.d/5177.bugfix
  2. 2
      synapse/handlers/room_member.py

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

@ -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,

Loading…
Cancel
Save